File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Assets/MRTK/Core/Utilities Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public static void SaveSettings(string spatializer)
6969 {
7070 if ( string . IsNullOrWhiteSpace ( spatializer ) )
7171 {
72- Debug . LogWarning ( "No spatializer was specified. The application will not support Spatial Sound." ) ;
72+ Debug . Log ( "No spatializer was specified. The application will not support Spatial Sound." ) ;
7373 }
7474 else if ( ! InstalledSpatializers . Contains ( spatializer ) )
7575 {
Original file line number Diff line number Diff line change @@ -170,13 +170,13 @@ public static GltfObject GetGltfObjectFromJson(string jsonString)
170170
171171 if ( gltfObject . extensionsRequired ? . Length > 0 )
172172 {
173- Debug . LogError ( $ "Required Extension Unsupported: { gltfObject . extensionsRequired [ 0 ] } ") ;
173+ Debug . LogError ( "One or more unsupported glTF extensions required. Unable to load the model. ") ;
174174 return null ;
175175 }
176176
177- for ( int i = 0 ; i < gltfObject . extensionsUsed ? . Length ; i ++ )
177+ if ( gltfObject . extensionsUsed ? . Length > 0 )
178178 {
179- Debug . LogWarning ( $ "Unsupported Extension: { gltfObject . extensionsUsed [ i ] } ") ;
179+ Debug . Log ( "One or more unsupported glTF extensions in use, ignoring them. ") ;
180180 }
181181
182182 var meshPrimitiveAttributes = GetGltfMeshPrimitiveAttributes ( jsonString ) ;
You can’t perform that action at this time.
0 commit comments