|
Post by wedgiebee on Apr 6, 2022 17:01:53 GMT
I'm experiencing a bug related to prefabs where editing a prefab with a ProCamera2D component causes instances of the prefab to reset their camera targets list. I'm on ProCamera2D version 2.9.1 and Unity version 2021.2.7f1 Repro steps: 1) Make a new scene with a MainCamera 2) Make a cube 3) Attach a ProCamera2D to the MainCamera 4) Drag the cube to the camera targets section of your ProCamera2D 5) Drag the MainCamera object into the project window to turn it into a Prefab 6) Look at the prefab instance in the scene - observe that the camera target is still correct. 7) Go into edit prefab mode by clicking the arrow to the right of the instance name in the hierarchy. 8) Change the value of "offset y" to some other value 9) Exit prefab mode and save your changes 10) Look at the prefab instance in the scene - observe that the camera targets list is empty now. I seem to be able to get my prefabs into this state at other random times as well, but this is the only reproducible case I've found. Let me know if I can provide any other info, or if there are any known workarounds/solutions!
|
|