Closed dharness closed 5 years ago
Actually it is expected behaviour specified in documentation. Take a look at https://github.com/modesttree/Zenject
Scroll to "Global Bindings Using Project Context" and you will find following text:
Then, when you start any scene that contains a SceneContext, your ProjectContext object will always be initialized first. All the installers you add here will be executed and the bindings that you add within them will be available for use in all scenes within your project. The ProjectContext game object is set as DontDestroyOnLoad so it will not be destroyed when changing scenes.
Well would you look at that, thanks!
The project context is not picked up.
The project context IS picked up.
I think this should be considered an error. At the very least it's confusing. If this is intentional I don't believe this behaviour is described in the docs anywhere.
Thanks!