![]() |
Cannot generate a blueprint asset for a mesh - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html) +--- Thread: Cannot generate a blueprint asset for a mesh (/thread-4243.html) |
Cannot generate a blueprint asset for a mesh - Gustorvo - 06-06-2024 When trying to generate a blueprint on any mesh (read/write checkbox is enabled in import settings) I always get an Null ref error: NullReferenceException: Object reference not set to an instance of an object Obi.ObiActorBlueprintEditor.Refresh () (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:416) Obi.ObiActorBlueprintEditor.Generate () (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:143) Unity 2022.3.29f Obi Softbody 6.5.4 RE: Cannot generate a blueprint asset for a mesh - josemendez - 07-06-2024 (06-06-2024, 09:54 PM)Gustorvo Wrote: When trying to generate a blueprint on any mesh (read/write checkbox is enabled in import settings) I always get an Null ref error: Hi, this is a long standing bug in Unity that causes public fields in custom editor scripts to not be correctly initialized when there's multiple inspector tabs open. The simplest way to fix it is to reset the editor's layout: Window->Layouts->Reset All Layouts let me know if I can be of further help, kind regards RE: Cannot generate a blueprint asset for a mesh - Gustorvo - 12-06-2024 (07-06-2024, 07:41 AM)josemendez Wrote: Hi, this is a long standing bug in Unity that causes public fields in custom editor scripts to not be correctly initialized when there's multiple inspector tabs open. The simplest way to fix it is to reset the editor's layout: Window->Layouts->Reset All Layouts Still having the same error even after resettin all layouts ![]() |