That eventSystem got me as well

I put an event System in the Persistent Object Prefab.
Now It works

The post about the Null Reference helped me here and Brian with where to persist for furture no problems

1 Like

Yes, this one catches a lot of folks.
Ordinarily, when we create a Canvas for a UI, an EventSystem is automatically created in the scene (but not as part of the Canvas itself). Since our UI Canvas lives in the Core Prefab (which is a good place for it, so that we can drop a Core Prefab into any scene and instantly have our UI, Player, Camera, etc), Unity doesn’t automatically create an Event System. Because of this it’s often forgotten.
You can put it in the Persistent Objects Prefab, or you can put it in the Core Prefab. Either way (but not both) should work.

1 Like

Privacy & Terms