Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Severe bug with some types of Prefabs/meshes
#5
Unfortunately am still getting an exception even when I apply the said code change Sad 

I've attached a screenshot of the error

Edit: btw, if I add a standard cube into the Prefab then it works but if I just have my road prefab as-is, it crashes Sad (Only in the mono build, not in editor, editor works fine)


Btw, you will have to enable the development build to see the exception otherwise it's silent and Spline segments can't be added dynamically, it goes completely unnoticed otherwise and you notice is when you debug

I don't know if this will help but it seems that, inputMeshTangents is a vector of size 0 as inputMesh.TangentsList.Array seems to be
unpopulated. If I add a simple cube to the game object then it works.


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Severe bug with some types of Prefabs/meshes - by studentloan - 04-22-2022, 02:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Maintaining vertical orientation of extruded meshes rickgplus 3 2,473 01-24-2025, 09:24 PM
Last Post: _Aka_
  Deforming prefabs with LODs along a spine LiveWire 7 4,515 01-22-2025, 10:59 PM
Last Post: rickgplus
  CurvyConnections inside prefabs CoolUser 9 9,193 10-02-2024, 06:41 PM
Last Post: _Aka_
  Tunnel Colliders and Looping Meshes Petusarian 5 3,156 07-17-2024, 02:36 PM
Last Post: _Aka_

Forum Jump: