Search Issue Tracker

Won't Fix

Votes

0

Found in

5.4.0b21

Issue ID

804952

Regression

No

ImageEffectAllowedInSceneView have OnEnable called before Serialization

Post Processing

-

How to reproduce:
1. Open the attached project
2. Open ImageEffectSerializationBug scene
3. Observe the printed error in console "In this camera (SceneCamera) test is 0 :("
4. User attached the ImageEffectSerializationBug script to Main Camera and script executes in Edit mode also it has ImageEffectAllowedInSceneView attribute

Scene View image effects have OnEnable called before Serialization unlike all other unity systems which call OnEnable and such _after_ serialization

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.