Raycasting Causes Crash In Windows 64 When Using Convex Meshcolliders

Hello,

I have attached a simple unity project that shows my issue.

When I Raycast an object that has a convex mesh collider I get an application crash.
This only occurs in a windows 64 build, not in the editor.
It only happens when the object is convex.

Is this a bug?

Thanks

Karl

1147053–43575–$Crash Test.zip (127 KB)

Same here… crash only in x64 build.

But no crash, if you put any distance variable to the Physics.Raycast().

Bump, I have a same crash issue caused by “opc_raycollider.cpp”. after analyzing the dump file in VS, I found below some interesting information:

- only happens in standalone player
- x86_64 (note: win32 doesn’t have the crash issue)
- crash issue: Read from location ffffffff caused an access violation.

Thanks,
/edgar

I reported it to Unity in January and they confirmed it is a bug, should be fixed in the future or maybe already has been?

Karl

There is no fix involved in the latest build, I can reproduce the crash issue on build 4.1.5 :frowning:

/ed

I saw a fix has been involved in 4.2