Skip to content
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

Error when import a gltf model #248

Open
zdlh444 opened this issue Jun 26, 2024 · 0 comments
Open

Error when import a gltf model #248

zdlh444 opened this issue Jun 26, 2024 · 0 comments

Comments

@zdlh444
Copy link

zdlh444 commented Jun 26, 2024

When I try to import a gltf model, this error will occur. How to handle it?

Asset import failed, "Assets/中部_full.gltf" > NullReferenceException: Object reference not set to an instance of an object
Siccity.GLTFUtility.Importer.LoadInternal (Siccity.GLTFUtility.GLTFObject gltfObject, System.String filepath, System.Byte[] bytefile, System.Int64 binChunkStart, Siccity.GLTFUtility.ImportSettings importSettings, UnityEngine.AnimationClip[]& animations) (at Library/PackageCache/com.siccity.gltfutility@96619fcd48/Scripts/Importer.cs:222)
Siccity.GLTFUtility.Importer.ImportGLTF (System.String filepath, Siccity.GLTFUtility.ImportSettings importSettings, UnityEngine.AnimationClip[]& animations) (at Library/PackageCache/com.siccity.gltfutility@96619fcd48/Scripts/Importer.cs:143)
Siccity.GLTFUtility.Importer.LoadFromFile (System.String filepath, Siccity.GLTFUtility.ImportSettings importSettings, UnityEngine.AnimationClip[]& animations, Siccity.GLTFUtility.Format format) (at Library/PackageCache/com.siccity.gltfutility@96619fcd48/Scripts/Importer.cs:30)
Siccity.GLTFUtility.GLTFImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) (at Library/PackageCache/com.siccity.gltfutility@96619fcd48/Scripts/Editor/GLTFImporter.cs:33)
UnityEditor.AssetImporters.ScriptedImporter.GenerateAssetData (UnityEditor.AssetImporters.AssetImportContext ctx) (at :0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant