hadashiA / VContainer

The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine.
https://vcontainer.hadashikick.jp
MIT License
1.92k stars 167 forks source link

Compilation error on Unity2021.3.0~Unity2021.3.17. #690

Closed Akeit0 closed 3 months ago

Akeit0 commented 3 months ago

FindAnyObjectByType was added in version 2021.3.18 so it causes a compilation error in versions 2021.3.0~2021.3.17. https://github.com/hadashiA/VContainer/blob/892c490c6a7f97dd564e933a1dbb50293e6fd093/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs#L118-L125

hadashiA commented 3 months ago

The specification of the directive is very messy. Apologies. I will scrutinise it.