Skip to content

Commit 4ef3353

Browse files
committed
fix nameMapping never assigned to warning
1 parent 95415c3 commit 4ef3353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.formats.fbx/Runtime/FbxPrefab.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class FbxPrefab : MonoBehaviour
2828
public struct StringPair { public string FBXObjectName; public string UnityObjectName; }
2929

3030
[SerializeField]
31-
List<StringPair> m_nameMapping;
31+
List<StringPair> m_nameMapping = new List<StringPair>();
3232

3333
/// <summary>
3434
/// Which FBX file does this refer to?

0 commit comments

Comments
 (0)