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

Model loading error: "Cannot read field "size" because "group" is null" #101

Open
dar-dev opened this issue Apr 7, 2023 · 0 comments
Open

Comments

@dar-dev
Copy link
Contributor

dar-dev commented Apr 7, 2023

Error when splitting meshes.
Here's the model : https://drive.google.com/file/d/1HEk7R5EKQcDayoLJlZQqq0vjZ4cfs4_q/view?usp=share_link

--

Stack trace :

Caused by: java.lang.NullPointerException: Cannot read field "size" because "group" is null
at net.mgsx.gltf.loaders.shared.geometry.MeshSpliter.split(MeshSpliter.java:144)
at net.mgsx.gltf.loaders.shared.geometry.MeshLoader.load(MeshLoader.java:417)
at net.mgsx.gltf.loaders.shared.GLTFLoaderBase.getNode(GLTFLoaderBase.java:314)
at net.mgsx.gltf.loaders.shared.GLTFLoaderBase.loadScene(GLTFLoaderBase.java:234)
at net.mgsx.gltf.loaders.shared.GLTFLoaderBase.loadScenes(GLTFLoaderBase.java:213)
at net.mgsx.gltf.loaders.shared.GLTFLoaderBase.load(GLTFLoaderBase.java:154)
at net.mgsx.gltf.loaders.gltf.GLTFAssetLoader.loadSync(GLTFAssetLoader.java:142)
at net.mgsx.gltf.loaders.gltf.GLTFAssetLoader.loadSync(GLTFAssetLoader.java:27)
at com.badlogic.gdx.assets.AssetLoadingTask.handleAsyncLoader(AssetLoadingTask.java:128)
at com.badlogic.gdx.assets.AssetLoadingTask.update(AssetLoadingTask.java:91)
at com.badlogic.gdx.assets.AssetManager.updateTask(AssetManager.java:575)
at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:424)
... 9 more

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