Zenject icon indicating copy to clipboard operation
Zenject copied to clipboard

Swapping out Scene Context for Project Context - existing injection not being called.

Open mahgo opened this issue 3 years ago • 0 comments

Describe the bug I'm looking to swap out Scene Context for Project Context over my whole project - I've started with one scene. When I remove the Scene Context from the GameObject, add the Project Context and assign the Mono Installer, my injections aren't being called anymore. I'm doing injection via Method injection.

To Reproduce Create GameObject, add Project Context, assign monoinstaller and get dependency via method injection.

Expected behavior Injection method should be called.

Extenject and Unity info (please complete the following information):

  • Zenject version: 8.0.0
  • Unity version: 2020.3.3f1
  • IL2CPP/also happens in Unity Editor

mahgo avatar Apr 16 '21 05:04 mahgo