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
Bug Issues when working with in-place prefabs Sacryn 4 6 02-27-2024, 04:08 PM
Last Post: _Aka_
  Cant Generate Meshes At Runtime alms94 5 22 01-26-2024, 11:27 AM
Last Post: _Aka_
  Disable rebuild of meshes in dynamic mode Zilk1 1 8 10-04-2023, 09:50 AM
Last Post: _Aka_
  Custom CurvySplineSegment prefabs Lupos 1 10 10-02-2023, 09:36 AM
Last Post: _Aka_

Forum Jump: