+1
Fixed

Mathf Rad2Deg causes crash

01lifeleft 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 4

Hi, if i try to connect Mathf Rad2Deg to any units then Unity will crash. 

Also if i have Rad2Deg in my graph and press play, it will crash.

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
GOOD, I'M SATISFIED
Satisfaction mark by 01lifeleft 3 years ago

I had the same problem. I just worked around it, but interested to know if this is a bug.

I think it had something to do with Pi math, it also crash if i add Pi into the graph.

Fixed in Alpha

Found and fixed for next version. Bolt's JIT reflection engine was generating invalid MSIL for constant fields.