Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
2
Found in
4.3.1f1
Issue ID
580097
Regression
No
PostProcessScene called twice during a build
PostProcessScene called twice during a build
To reproduce:
1. Open attached project
2. Open bugdemo scene
3. Enter play mode. You get one debug.log of PPS called LightXXX the script creates a game object with this name. In play mode, the object lists it's name.
4.Build the player.
Expected result: PostProcessScene is executed once
Actual result: Notice you have 2 "PPS called …" indicating that PostProcessScene is executed twice.
Notes: Run the built player, check out the player log.You can notice that only the second object was inserted in the scene.
This seems to indicate that the PostProcessScene is called the first time, and the results are then thrown out.
Comments (5)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Bezzy
Jan 09, 2017 12:40
Hmm. I thought that this was probably more to do with multi scene editing? If you have multiple scenes open, you'll get a call per open scene.
It would, therefore, be extremely useful for the PostProcessScene to pass through a Scene as an argument so that we can tell which scene it is referring to.
voldemarz
Jul 14, 2015 07:53
Still present in Unity 4.6.6p3 and 5.1.1f1. I stumbled on it while attempting to figure out why PostProcessScene is called after Awake when starting play session in editor. Is that the expected behaviour or another bug? http://answers.unity3d.com/questions/1006245/why-is-onpostprocessscene-called-after-awake.html
andymads
May 18, 2015 08:09
Still active in 4.6.5
andymads
Apr 14, 2015 08:31
Just found this bug in 4.6.4p2. Submitted bug #689294.
trooper
Apr 10, 2015 02:30
Still happening in latest 4.6 build