glTFast
glTFast copied to clipboard
Runtime Export GameObjectExport could not be found
Describe the bug
error CS0246: The type or namespace name 'GameObjectExport' could not be found (are you missing a using directive or an assembly reference?)
(https://github.com/atteneder/glTFast/blob/main/Documentation~/ExportRuntime.md)
Further directions are needed beyond just this:
Note: The GLTFast.Export namespace can only be used if you reference both glTFast and glTFast.Export Assemblies in your Assembly Definition.
Files
Attach or link to .gltf/.glb files that trigger the bug.
In addition, make sure to run those files through the glTF Validator first. If you encounter errors or warnings, try to make sure they are not responsible for the issue and file a bug report with the software that generated the glTF file as well.
Note: You have to ZIP archive them first in order for GitHub to accept the upload.
If your files are confidential:
- Try to create a similar, but intellectual-property-free glTF that reproduces the bug in the same way (so any community member can have a look)
- Otherwise, still create this issue and send the files (or a link to them) discretely via email
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- glTFast version
- Unity Editor version [e.g. 2021.2.1f1]
- Render Pipeline and version [e.g. Universal Render Pipeline 12.0]
- Platform: [e.g. Editor, Windows Player, iOS]
additionally (if significant for the bug):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- For WebGL: Browser [e.g. stock browser, safari]
Additional context Add any other context about the problem here.
Creating the asmdef that reference the GLTFast and GLTFast.Export and setting it in its own folder etc, then these errors arise
Multiple scripted importers are targeting the extension 'glb' and have all been rejected: GLTFast.Editor.GltfImporter (assembly: /Library/ScriptAssemblies/glTFast.Editor.dll), TriLibCore.Editor.TriLibGLTFScriptedImporter (assembly: /Library/ScriptAssemblies/Assembly-CSharp-Editor.dll)
UnityEditor.AssetImporters.ScriptedImporter:RegisterScriptedImporters () (at /Users/bokken/build/output/unity/unity/Modules/AssetPipelineEditor/Public/ScriptedImporter.cs:112)
and also similar for gltf