Skip to content

Commit

Permalink
Fix OBJLoader in runtime+0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yojohanshinwataikei committed Jun 30, 2023
1 parent 1bcc759 commit 2d70191
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Assets/Materials/Player/TrackBorderLeft.mat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Phase: 0
- _Phase: 0.12737204
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Materials/Player/TrackBorderRight.mat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Phase: 0
- _Phase: 0.12737204
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Materials/Player/TrackMain.mat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Phase: 0
- _Phase: 0.12737204
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Misc/BuildTimestamp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
638237382738413772
638237422224889231
6 changes: 6 additions & 0 deletions Assets/Misc/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.4.5

- 修复了皮肤文件夹中的 OBJ 文件无法正确加载的问题

---

0.4.4

- 支持轨道编号为 0 与 5 的 Tap 与 Hold
Expand Down
3 changes: 2 additions & 1 deletion Assets/Scripts/Util/Loader/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ public static Mesh LoadObjMesh(string path){
}
UnityEngine.Object.Destroy(obj);
return mesh;
}catch{
}catch(System.Exception ex){
Debug.LogWarning($"Can not load obj mesh, path: {path}");
Debug.LogException(ex);
}
return null;
}
Expand Down
8 changes: 6 additions & 2 deletions ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--- !u!30 &1
GraphicsSettings:
m_ObjectHideFlags: 0
serializedVersion: 13
serializedVersion: 14
m_Deferred:
m_Mode: 1
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
Expand All @@ -28,6 +28,7 @@ GraphicsSettings:
m_LensFlare:
m_Mode: 1
m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
m_VideoShadersIncludeMode: 2
m_AlwaysIncludedShaders:
- {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
Expand All @@ -38,7 +39,9 @@ GraphicsSettings:
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 45, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_PreloadShadersBatchTimeLimit: -1
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
m_CustomRenderPipeline: {fileID: 0}
Expand All @@ -62,5 +65,6 @@ GraphicsSettings:
m_AlbedoSwatchInfos: []
m_LightsUseLinearIntensity: 0
m_LightsUseColorTemperature: 0
m_DefaultRenderingLayerMask: 1
m_LogWhenShaderIsCompiled: 0
m_AllowEnlightenSupportForUpgradedProject: 1
m_SRPDefaultSettings: {}
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ PlayerSettings:
16:10: 0
16:9: 1
Others: 0
bundleVersion: 0.4.4
bundleVersion: 0.4.5
preloadedAssets:
- {fileID: 4800000, guid: bb26ede1beb997943a7d6295fbf075d4, type: 3}
- {fileID: 4800000, guid: 1e340182228616b4ca7dad1e80f4d319, type: 3}
Expand Down
1 change: 1 addition & 0 deletions ProjectSettings/QualitySettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ QualitySettings:
excludedTargetPlatforms: []
m_PerPlatformDefaultQuality:
Android: 5
Server: 0
Standalone: 5
WebGL: 0
iPhone: 5

0 comments on commit 2d70191

Please sign in to comment.