VContainer icon indicating copy to clipboard operation
VContainer copied to clipboard

NullRefException when Injecting GameObjects that have missing components

Open alta-victor opened this issue 3 years ago • 1 comments

Due to my multiplatform setup some component don't get compiled and Unity holds "Missing Script" components, that throw null ref on Container.cs line 95 coming from ObjectResolverUnityExtensions.cs line 21

alta-victor avatar Nov 15 '22 06:11 alta-victor

If a null check would solve the problem, I would consider it.

However, Container.cs:95 is just running user code. I would like you to share the LifetimeScope and other important parts of the problem, that and the complete stack trace.

hadashiA avatar Apr 29 '23 03:04 hadashiA