Hi, I've encountered a problem with the 1.73 release.
Trying to access runtime canvas of a menu in a OnStartScene event doesn't work anymore. RuntimeCanvas is null.
At this point AC should be fully initialized and the RuntimeCanvas should have a value.
Edit: Just noticed it's because of this change:
Changed: Unity UI prefabs are now only spawned when they are requested, to reduce initial loading times
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Yes, while the runtime instances of all Menus will be accessible from the start, their associated Canvases may not be.
You can access the Canvas when it's first shown either via an OnEnable script function attached to the Canvas, or by hooking into the OnMenuTurnOn custom event.