Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  NullReferenceException on Skinned Cloth Blueprint Generating
#1
screenshot:
[Image: fileProxy&user=102&sid=4uAtmfRs]

unity3d version:2020.3.36f1c1
Project: new empty 3D project that uses Unity's built-in renderer.
use Resources: Obj sampleResources "Man_trenchcoat.fbx"


step:
1.Creat a skinned Cloth Blueprint
2.drag "Body_basemesh 1" to "InputMesh"
3.Click "Generate"
4.got this exception


exception:
NullReferenceException: Object reference not set to an instance of an object
Obi.ObiClothBlueprint+<CreateDistanceConstraints>d__3.MoveNext () (at Assets/Obi/Scripts/Cloth/Blueprints/ObiClothBlueprint.cs:125)
Obi.ObiSkinnedClothBlueprint+<Initialize>d__2.MoveNext () (at Assets/Obi/Scripts/Cloth/Blueprints/ObiSkinnedClothBlueprint.cs:87)
Obi.ObiActorBlueprint+<Generate>d__59.MoveNext () (at Assets/Obi/Scripts/Common/Blueprints/ObiActorBlueprint.cs:282)
Obi.CoroutineJob+<Start>d__15.MoveNext () (at Assets/Obi/Scripts/Common/Utils/Coroutines/CoroutineJob.cs:99)
UnityEngine.Debug:LogException(Exception)
Obi.<Start>d__15:MoveNext() (at Assets/Obi/Scripts/Common/Utils/Coroutines/CoroutineJob.cs:108)
Obi.EditorCoroutine:ShowCoroutineProgressBar(String, IEnumerator&) (at Assets/Obi/Scripts/Common/Utils/Coroutines/EditorCoroutine.cs:21)
Obi.ObiActorBlueprintEditor:Generate() (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:131)
Obi.ObiActorBlueprintEditor:OnInspectorGUI() (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:163)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr, Boolean&)


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
NullReferenceException on Skinned Cloth Blueprint Generating - by GinHuang - 19-11-2022, 11:03 PM