Search Issue Tracker
Fixed in 2017.2.0f3
Votes
0
Found in
2017.2.0b3
Issue ID
931488
Regression
Yes
A method with PostProcessSceneAttribute is not called after loading the Scene from Script
How to reproduce:
1. Open the attached "PostProcessScene" project and "Scene_1" scene
2. Observe the Loader.cs and SceneProcessor.cs scripts. Loader script loads the five scenes in the project additively, SceneProcessor has a method with PostProcessScene attribute that logs the scene count of loaded scene
3. Enter playmode, observe the console output
Expected result: A method with PostProcessScene attribute gets called every time the scene is loaded via SceneManager.LoadScene (or any other SceneManager function)
Actual result: A method with PostProcessScene attribute does not get called after the scene is loaded via SceneManager.LoadScene (or any other SceneManager function)
Note: Issue is reproducible when loading a scene additively or in a single mode, so the used scene loading mode does not seem to matter here
Regression introduced in - 2017.2.0b2
Reproducible with - 2017.2.0b3, 2017.2.0b2
Not reproducible with - 2017.2.0b1, 2017.1.0f3, 5.6.2p4
Fixed in - 2017.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
Add comment