Skip to content

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

@Bmandk

Description

@Bmandk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions