ClientSim icon indicating copy to clipboard operation
ClientSim copied to clipboard

[1.2.2] LineRenderer.BakeMesh failing unexpectedly

Open techanon opened this issue 3 years ago • 2 comments
trafficstars

When trying to create a mesh from a LineRenderer, in ClientSim the behavior is crashing upon calling line.BakeMesh(mesh, true);. This call works fine in-game via build and test. I think CS is trying to force use the 3 param override BakeMesh(Mesh, Camera, bool) instead of the 2 param method because the failure mentions Camera being null: image

techanon avatar Aug 24 '22 05:08 techanon