File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Assets/MRTK/Core/Utilities/Gltf/Serialization Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -171,12 +171,20 @@ public static GltfObject GetGltfObjectFromJson(string jsonString)
171
171
if ( gltfObject . extensionsRequired ? . Length > 0 )
172
172
{
173
173
Debug . LogError ( "One or more unsupported glTF extensions required. Unable to load the model." ) ;
174
+ for ( int i = 0 ; i < gltfObject . extensionsRequired . Length ; ++ i )
175
+ {
176
+ Debug . Log ( $ "Extension: { gltfObject . extensionsUsed [ i ] } ") ;
177
+ }
174
178
return null ;
175
179
}
176
180
177
181
if ( gltfObject . extensionsUsed ? . Length > 0 )
178
182
{
179
183
Debug . Log ( "One or more unsupported glTF extensions in use, ignoring them." ) ;
184
+ for ( int i = 0 ; i < gltfObject . extensionsUsed . Length ; ++ i )
185
+ {
186
+ Debug . Log ( $ "Extension: { gltfObject . extensionsUsed [ i ] } ") ;
187
+ }
180
188
}
181
189
182
190
var meshPrimitiveAttributes = GetGltfMeshPrimitiveAttributes ( jsonString ) ;
You can’t perform that action at this time.
0 commit comments