UnityGLTF icon indicating copy to clipboard operation
UnityGLTF copied to clipboard

Instantiating a non-readable '' texture is not allowed! Please mark the texture readable in the inspector or don't instantiate it.

Open riccardogiorato opened this issue 8 years ago • 4 comments

schermata 2018-07-31 alle 11 32 17

Instantiating a non-readable '' texture is not allowed! Please mark the texture readable in the inspector or don't instantiate it.

I got this problem while testing this tool with this model all Embedded: https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF-Embedded/DamagedHelmet.gltf

It's all fixed with this Binary version: https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF-Binary/DamagedHelmet.glb

Don't know if it's a real bug not already described but having this issue was related to models working correctly in the Editor but I always got errors with them at Runtime with a Built version of them.

riccardogiorato avatar Jul 31 '18 09:07 riccardogiorato

So how do you fixed this problem? :o I didn't find any solution for that in the referenced issue.

Jennilein1991 avatar Oct 05 '18 07:10 Jennilein1991

@Jennilein1991 you should try to convert the model to GLB(GLTF binary format) or export again the GLTF with blender changing the settings, I suggest to use https://github.com/KhronosGroup/glTF-Blender-IO with Principled BSDF shader to export if correctly.

I wasn't able to determine what wasn't working but just by converting to GLB or trying to export again solved the problem if I remember correctly.

riccardogiorato avatar Oct 05 '18 09:10 riccardogiorato

This should be fixed now

ericob avatar Jan 04 '19 22:01 ericob

@ericob how was it fixed?

FreakTheMighty avatar Jan 31 '19 02:01 FreakTheMighty