Skip to content

SetActiveScene after loading the scene#15

Closed
whynames wants to merge 1 commit intomackysoft:mainfrom
whynames:main
Closed

SetActiveScene after loading the scene#15
whynames wants to merge 1 commit intomackysoft:mainfrom
whynames:main

Conversation

@whynames
Copy link
Copy Markdown

Since there was an empty scene to prevent exceptions, unity sets that scene as active scene and all its rendering settings were applied. I added a line that sets the active scene after loading

Since there was an empty scene to prevent exceptions, unity sets that scene as active scene and all its rendering settings were applied. I added a line that sets the active scene after loading
@mackysoft
Copy link
Copy Markdown
Owner

Hi @whynames
Thanks for the pull request.

I tried to think of a solution, but since I believe that in principle Navigathena should not switch active scenes, I decided to solve this problem in the following way. #16

This switching occurs only when there is a single scene present, thus minimizing the impact on the project.

If you need anything else, please contact me.

@mackysoft mackysoft closed this Feb 14, 2024
@mackysoft
Copy link
Copy Markdown
Owner

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

Successfully merging this pull request may close these issues.

2 participants