-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UniGLTF / VRMShader assembly file autoReference setting needs to be true for UPM package import #993
Comments
I don't know how to reproduce the problem. |
@ousttrue : steps for reproduction:
-> Unity shows an error in the console similar to this Then, if you set VRMshaders assembly definition file "autoReference", Unity will work with UniGLTF/VRMshaders as expected. Most of the time, "autoReference" should be enabled on asmdef files. |
Thanks your description! For the clean code design, we use the Assembly Definition and disallow the refs: https://docs.unity3d.com/2019.4/Documentation/Manual/ScriptCompilationAssemblyDefinitionFiles.htm |
It seems too advanced to force everyone to use asmdef. 🤯 |
Some asmdef files has been set |
VRMShader assembly definition file needs to set "autoReference" property to "true" .
Otherwise, when importing UniGLTF/VRMShaders as UPM package, Unity throws an error that type references are missing. (e.g. when using gltfExporter.Export(...) method).
I checked latest pre-release version 0.75 .
Should be a very quick fix :-)
The text was updated successfully, but these errors were encountered: