Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues when working with in-place prefabs
#2
Managed to produce the issue with constant error spam and missing assets when working in a prefab and then backing out into the scene. The following error keeps repeating forever if the "Auto refresh" option on the generator is checked. "MyPrefab" is the prefab that is placed in the scene, and it contains a generator in one of its child objects

Code:
ArgumentException: Could not load Prefab contents at path MyPrefab.prefab. Prefabs should have exactly 1 root GameObject, 2 was found.
UnityEditor.PrefabUtility.LoadPrefabContents (System.String assetPath) (at <5e6ebaa7d75c4d5399dc81ecead6b43f>:0)
FluffyUnderware.Curvy.Generator.CurvyGenerator.DeleteAllOutputManagedResourcesFromAssociatedPrefab () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:1217)
FluffyUnderware.Curvy.Generator.CGModule.TryDeleteChildrenFromAssociatedPrefab () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CGModule.cs:756)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh.Refresh () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG Modules/CreateMesh.cs:822)
FluffyUnderware.Curvy.Generator.CGModule.doRefresh () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CGModule.cs:778)
FluffyUnderware.Curvy.Generator.CurvyGenerator.Refresh (System.Boolean forceUpdate) (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:851)
FluffyUnderware.Curvy.Generator.CurvyGenerator.TryAutoRefresh () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:882)
FluffyUnderware.Curvy.Generator.CurvyGenerator.Update () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:312)
FluffyUnderware.Curvy.Generator.CurvyGenerator.editorUpdate () (at Assets/3rdParty/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:299)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <5e6ebaa7d75c4d5399dc81ecead6b43f>:0)
Reply


Messages In This Thread
RE: Issues when working with in-place prefabs - by Sacryn - 02-23-2024, 12:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unity 6 issues Moonbo 4 1,142 11-21-2025, 12:07 PM
Last Post: _Aka_
  Deforming prefabs with LODs along a spine LiveWire 7 4,434 01-22-2025, 10:59 PM
Last Post: rickgplus
  CurvyConnections inside prefabs CoolUser 9 9,122 10-02-2024, 06:41 PM
Last Post: _Aka_
Question Generator Canvas workflow issues Sacryn 1 1,364 02-02-2024, 11:22 PM
Last Post: _Aka_

Forum Jump: