Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a scenelist that is different from the build settings causes an index mismatch #2

Open
Bmandk opened this issue Jun 27, 2023 · 0 comments

Comments

@Bmandk
Copy link

Bmandk commented Jun 27, 2023

It is not uncommon for devs to not use the build settings, instead opting to create their own build tools. In my game, I have created a build script that uses a scene list that is different from the ones listed in build settings. Since TypeSafe uses the build settings scenes to create the types, they will mismatch from what is actually in the build.

While there are workarounds (use e.g. SRScenes.MainMenu.name instead of SRScenes.MainMenu), it caused quite some confusion initially and more lost time than should have been necessary to debug this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant