Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invisible generated meshes in build
#1
Hi,
Since I updated to 8.6.1 (from 8.4), my generated meshes are no longer visibles in build (everything works well in the editor).
The colliders works so this is a purely visual issue.

The Player.log contains warning related to curvy and UV2:

Code:
(Filename: C:/Sirenix/OdinSerializer/OdinSerializer/Core/Misc/ArchitectureInfo.cs Line: 115)

[Curvy] UV2 Unwrapping is not available outside of the editor
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object,UnityEngine.Object)
UnityEngine.Debug:Log (object,UnityEngine.Object)
FluffyUnderware.DevTools.DTLog:Log (object,UnityEngine.Object) (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Dependencies/DevTools/Classes/DTUtility.cs:909)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:get_UnwrapUV2 () (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG Modules/CreateMesh.cs:330)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:WriteVMeshToMesh (FluffyUnderware.Curvy.Generator.CGVMesh,System.Collections.Generic.List`1<FluffyUnderware.Curvy.Generator.CGMeshResource>) (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG Modules/CreateMesh.cs:1123)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:CreateSpotMeshes (System.Collections.Generic.List`1<FluffyUnderware.Curvy.Generator.CGVMesh>,ToolBuddy.Pooling.Collections.SubArray`1<FluffyUnderware.Curvy.Generator.CGSpot>,bool,bool,System.Collections.Generic.List`1<FluffyUnderware.Curvy.Generator.CGMeshResource>) (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG Modules/CreateMesh.cs:1047)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:Refresh () (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG Modules/CreateMesh.cs:872)
FluffyUnderware.Curvy.Generator.CGModule:doRefresh () (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG/CGModule.cs:778)
FluffyUnderware.Curvy.Generator.CurvyGenerator:Refresh (bool) (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:851)
FluffyUnderware.Curvy.Generator.CurvyGenerator:Initialize (bool) (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:803)
FluffyUnderware.Curvy.Generator.CurvyGenerator:Update () (at C:/Projects/Project_CityRunner/CityRunner/Assets/Plugins/ToolBuddy/Assets/Curvy/Scripts/CG/CurvyGenerator.cs:308)

I tried to uncheck "Unwrap UV2" in the CreateMesh node and "Generate UV2" in the node Volume Mesh with no success.
Still, I find it strange that everything was working fine before the update and I didn't change anything in my generators.

Thanks for reading my issue


Attached Files Thumbnail(s)
   
Reply
#2
Hi
I am convinced that UnwrapUV2 is not culprit. By the way, like the log states it that option is not available in builds. One can use in builds meshes generated while using that option, but not generate them in builds.

I believe the issue comes from some other reason. Can you please send me a simple reproduction case?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
I send you versions 8.4 and 8.5. The first one to be able to rollback if needed. The second for you to test and see if the issue appears in that version too.
Also, can you try 8.6 with Make Static set to false?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#4
Note for future readers: the issue is indeed a regression introduced by 8.5. The issue happens when generating static meshes. A fix will be released in the next few days.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#5
Thank you for the fix ! Smile
Reply
#6
My pleasure Smile
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Maintaining vertical orientation of extruded meshes rickgplus 0 5 10 hours ago
Last Post: rickgplus
  Newly created spline is invisible quickytools 7 39 12-21-2024, 10:14 AM
Last Post: _Aka_
  Tunnel Colliders and Looping Meshes Petusarian 5 15 07-17-2024, 02:36 PM
Last Post: _Aka_
  Invisible Gizmos In Latest Curvy Splines orrenravid1 1 7 06-11-2024, 07:36 AM
Last Post: _Aka_

Forum Jump: