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

Deployment Management

-

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)

  1. 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.

  2. 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

  3. andymads

    May 18, 2015 08:09

    Still active in 4.6.5

  4. andymads

    Apr 14, 2015 08:31

    Just found this bug in 4.6.4p2. Submitted bug #689294.

  5. trooper

    Apr 10, 2015 02:30

    Still happening in latest 4.6 build

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.