Skip to content

fix: IsSpawnedObjectsPendingInDontDestroyOnLoad should only be set when LoadSceneMode.Single#2330

Merged
NoelStephensUnity merged 2 commits intodevelopfrom
fix/isspawnedobjectspendingindontdestroyonload-loadscenemode-single-only-mtt-4681
Dec 2, 2022
Merged

fix: IsSpawnedObjectsPendingInDontDestroyOnLoad should only be set when LoadSceneMode.Single#2330
NoelStephensUnity merged 2 commits intodevelopfrom
fix/isspawnedobjectspendingindontdestroyonload-loadscenemode-single-only-mtt-4681

Conversation

@NoelStephensUnity
Copy link
Copy Markdown
Member

@NoelStephensUnity NoelStephensUnity commented Dec 1, 2022

This fix assures that IsSpawnedObjectsPendingInDontDestroyOnLoad is only set to true when LoadSceneMode == LoadSceneMode.Singleonly.

MTT-4681
#2315

Changelog

  • Fixed: IsSpawnedObjectsPendingInDontDestroyOnLoad is only set to true when loading a scene using LoadSceneMode.Singleonly.

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

MTT-4681
this fix assures that IsSpawnedObjectsPendingInDontDestroyOnLoad is only set to true when LoadSceneMode = LoadSceneMode.Singleonly.
updating changelog.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review December 1, 2022 18:47
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner December 1, 2022 18:47
@NoelStephensUnity NoelStephensUnity merged commit 8e348c1 into develop Dec 2, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/isspawnedobjectspendingindontdestroyonload-loadscenemode-single-only-mtt-4681 branch December 2, 2022 17:54
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