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.
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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