Skip to content

Commit 29f6cab

Browse files
Fix Material Warnings When Importing ProBuilder (#622)
* Update material settings * update material setting again * update changelog
1 parent 830a188 commit 29f6cab

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1313
- [PBLD-226] Fixed a bug where ProBuilder faces could not selected when obscured by another GameObject
1414
- [PBLD-164] Fixed a bug with UV autostitching where the position offset would not take into account the face rotation center offset.
1515
- [PBLD-251] Fixed a bug which would cause out of bounds exceptions when exporting meshes with quad topology
16-
- [PBLD-253] Removes call to internal API that is being removed.
16+
- [PBLD-253] Removed a call to internal API that is being removed.
1717
- [PBLD-255] Fixed an issue where faces being extruded using the shift+click were invisible
18+
- Fixed warnings about materials being altered when the package is imported in Unity 6.2.
1819

1920
## [6.0.6] - 2025-07-01
2021

Content/Material/Checker.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ Material:
2424
m_Shader: {fileID: 4800000, guid: 8547ec39534635c4289065e5c5033f43, type: 3}
2525
m_Parent: {fileID: 0}
2626
m_ModifiedSerializedProperties: 0
27-
m_ValidKeywords:
27+
m_ValidKeywords: []
28+
m_InvalidKeywords:
2829
- _DISABLE_SSR_TRANSPARENT
29-
m_InvalidKeywords: []
30-
m_LightmapFlags: 1
30+
- _EMISSION
31+
m_LightmapFlags: 3
3132
m_EnableInstancingVariants: 0
3233
m_DoubleSidedGI: 0
3334
m_CustomRenderQueue: 2225
@@ -97,7 +98,7 @@ Material:
9798
- _AlphaCutoffEnable: 0
9899
- _AlphaDstBlend: 0
99100
- _AlphaSrcBlend: 1
100-
- _BUILTIN_QueueControl: -1
101+
- _BUILTIN_QueueControl: 1
101102
- _BUILTIN_QueueOffset: 0
102103
- _BlendMode: 0
103104
- _BumpScale: 1
@@ -200,4 +201,4 @@ MonoBehaviour:
200201
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
201202
m_Name:
202203
m_EditorClassIdentifier:
203-
version: 9
204+
version: 10

Content/Resources/Materials/ProBuilderDefault.mat

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ MonoBehaviour:
4141
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
4242
m_Name:
4343
m_EditorClassIdentifier:
44-
version: 9
44+
version: 10
4545
--- !u!21 &2100000
4646
Material:
4747
serializedVersion: 8
@@ -56,10 +56,11 @@ Material:
5656
m_ValidKeywords: []
5757
m_InvalidKeywords:
5858
- _DISABLE_SSR_TRANSPARENT
59-
m_LightmapFlags: 1
59+
- _EMISSION
60+
m_LightmapFlags: 3
6061
m_EnableInstancingVariants: 0
6162
m_DoubleSidedGI: 0
62-
m_CustomRenderQueue: 2000
63+
m_CustomRenderQueue: -1
6364
stringTagMap:
6465
MotionVector: User
6566
disabledShaderPasses:

0 commit comments

Comments
 (0)