koyu
New Member
Posts: 6
|
Post by koyu on Mar 1, 2024 11:54:23 GMT
Hello. Thank you for your great camera asset. Since sometime ago, a NullReferenceException appears while editing a scene with no known cause. This error appears in the Console when updating scripts that have nothing to do with ProCamera2D or when editing objects in the scene. You can still run the game in PlayMode with this error. Also, there are no compile errors in the script. What is causing this null error?
|
|
|
Post by Luís Pedro Fonseca on Mar 10, 2024 10:37:17 GMT
Hi koyu, I've never this issue before. How can I reproduce it? What ProCamera2D version are you using?
|
|
koyu
New Member
Posts: 6
|
Post by koyu on Mar 11, 2024 14:48:15 GMT
Sorry, I solved the problem. It seems that a prefab that summarized the scaffolding and terrain in the scene contained a ProCamera2D Trigger object that had lost its reference. It seems that if a prefab contains assets that have lost their references, the error is displayed even if the prefab is not actually used.
Thanks for your reply.
|
|