From dd66cd2f7c8b4e186901039d18a5890c2894daee Mon Sep 17 00:00:00 2001 From: bd_ Date: Wed, 21 Aug 2024 20:24:03 -0700 Subject: [PATCH] fix: spurious "missing" value shown in fingerpen prefab (#1029) Closes: #1028 --- Samples/Fingerpen.prefab | 66 +++++++++++++++++++++++++++++++--------- 1 file changed, 51 insertions(+), 15 deletions(-) diff --git a/Samples/Fingerpen.prefab b/Samples/Fingerpen.prefab index 683fa69e..fa7aa789 100644 --- a/Samples/Fingerpen.prefab +++ b/Samples/Fingerpen.prefab @@ -26,14 +26,15 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2929086332187968542} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: - {fileID: 6917936183219720762} - {fileID: 728513151284643908} m_Father: {fileID: 0} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &7996665789334891805 MonoBehaviour: @@ -47,7 +48,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7ef83cb0c23d4d7c9d41021e544a1978, type: 3} m_Name: m_EditorClassIdentifier: - menuToAppend: {fileID: 11400000, guid: 8c9e45343a49f484ba069e09ccced597, type: 2} + menuToAppend: {fileID: 0} installTargetMenu: {fileID: 0} --- !u!114 &7184458914139497616 MonoBehaviour: @@ -67,15 +68,21 @@ MonoBehaviour: internalParameter: 1 isPrefix: 0 syncType: 3 + localOnly: 0 defaultValue: 0 saved: 0 + hasExplicitDefaultValue: 0 + m_overrideAnimatorDefaults: 0 - nameOrPrefix: Draw remapTo: internalParameter: 1 isPrefix: 0 syncType: 3 + localOnly: 0 defaultValue: 0 saved: 0 + hasExplicitDefaultValue: 0 + m_overrideAnimatorDefaults: 0 --- !u!114 &4714073180460761108 MonoBehaviour: m_ObjectHideFlags: 0 @@ -100,8 +107,10 @@ MonoBehaviour: subParameters: [] labels: [] MenuSource: 1 - menuSource_installer: {fileID: 0} menuSource_otherObjectChildren: {fileID: 5354519745013217104} + isSynced: 1 + isSaved: 1 + isDefault: 0 --- !u!1 &2929086333654575795 GameObject: m_ObjectHideFlags: 0 @@ -126,13 +135,14 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2929086333654575795} + serializedVersion: 2 m_LocalRotation: {x: -0.47799835, y: -0.52013713, z: -0.5201372, w: 0.4800337} m_LocalPosition: {x: 0.5846984, y: 1.0718577, z: 0.021609068} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: - {fileID: 2929086333716922424} m_Father: {fileID: 6917936183219720762} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &2929086333654575805 MonoBehaviour: @@ -173,17 +183,18 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2929086333716922431} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: -0, y: 0.0232, z: -0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: - {fileID: 8183697317526385579} m_Father: {fileID: 2929086333654575804} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!96 &2929086333716922425 TrailRenderer: - serializedVersion: 2 + serializedVersion: 3 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} @@ -193,10 +204,12 @@ TrailRenderer: m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 m_MotionVectors: 0 m_LightProbeUsage: 0 m_ReflectionProbeUsage: 0 m_RayTracingMode: 0 + m_RayTraceProcedural: 0 m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: @@ -222,6 +235,7 @@ TrailRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_Time: 15 + m_PreviewTimeScale: 1 m_Parameters: serializedVersion: 3 widthMultiplier: 1 @@ -267,17 +281,21 @@ TrailRenderer: atime6: 0 atime7: 0 m_Mode: 0 + m_ColorSpace: -1 m_NumColorKeys: 2 m_NumAlphaKeys: 2 numCornerVertices: 0 numCapVertices: 0 alignment: 0 textureMode: 0 + textureScale: {x: 1, y: 1} shadowBias: 0.5 generateLightingData: 0 m_MinVertexDistance: 0.005 + m_MaskInteraction: 0 m_Autodestruct: 0 m_Emitting: 0 + m_ApplyActiveColorSpace: 0 --- !u!1 &5354519745013217104 GameObject: m_ObjectHideFlags: 0 @@ -301,14 +319,15 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 5354519745013217104} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1892928965174260857} - {fileID: 3041863097553433968} m_Father: {fileID: 2929086332187968543} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &6837276917073475290 GameObject: @@ -334,12 +353,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6837276917073475290} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 728513151284643908} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1436771406052350457 MonoBehaviour: @@ -365,8 +385,10 @@ MonoBehaviour: subParameters: [] labels: [] MenuSource: 0 - menuSource_installer: {fileID: 0} menuSource_otherObjectChildren: {fileID: 0} + isSynced: 1 + isSaved: 1 + isDefault: 0 --- !u!1 &7502135110828725241 GameObject: m_ObjectHideFlags: 0 @@ -392,13 +414,14 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7502135110828725241} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: - {fileID: 2929086333654575804} m_Father: {fileID: 2929086332187968543} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &4913539947385078952 MonoBehaviour: @@ -417,9 +440,13 @@ MonoBehaviour: deleteAttachedAnimator: 1 pathMode: 0 matchAvatarWriteDefaults: 1 + relativePathRoot: + referencePath: + targetObject: {fileID: 0} + layerPriority: 0 --- !u!95 &8821645494750292323 Animator: - serializedVersion: 3 + serializedVersion: 5 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} @@ -432,10 +459,12 @@ Animator: m_UpdateMode: 0 m_ApplyRootMotion: 0 m_LinearVelocityBlending: 0 + m_StabilizeFeet: 0 m_WarningMessage: m_HasTransformHierarchy: 1 m_AllowConstantClipSamplingOptimization: 1 - m_KeepAnimatorControllerStateOnDisable: 0 + m_KeepAnimatorStateOnDisable: 0 + m_WriteDefaultValuesOnDisable: 0 --- !u!1 &8323130273213051223 GameObject: m_ObjectHideFlags: 0 @@ -460,12 +489,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 8323130273213051223} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 728513151284643908} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1720968870752482547 MonoBehaviour: @@ -491,8 +521,10 @@ MonoBehaviour: subParameters: [] labels: [] MenuSource: 0 - menuSource_installer: {fileID: 0} menuSource_otherObjectChildren: {fileID: 0} + isSynced: 1 + isSaved: 1 + isDefault: 0 --- !u!1 &9091324582054793565 GameObject: m_ObjectHideFlags: 0 @@ -518,12 +550,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 9091324582054793565} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 2929086333716922424} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &4612943453377669893 MeshFilter: @@ -544,10 +577,12 @@ MeshRenderer: m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 + m_RayTraceProcedural: 0 m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: @@ -572,3 +607,4 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0}