Game Crashes on start

Hi, I'm having an issue on this live project where it halts on the first few frames of runtime for some seconds and crashes.

That happens only on some computers, and I haven't been able to understand any pattern. All windows 10, I even installed vc++ redist runtime, updated graphics driver (gtx 1080), turned off avast, still no luck.

See attached the player log and crash dump files, and a Player log of a run with no crash.
Unity 2021.3.6, Mono backend, .net 2.1
Using Phidget library and AVPro plugin

This crash log is very cryptic to me, what is going wrong here? (105 KB) (2.48 KB)


the crash seems to be within AVProVideo.dll. It looks like it uses instructions from the BMI2 instruction set, which is only supported by ~8 year old Intel and AMD CPUs. I suspect the issue happens on older computers and that's why you cannot reproduce it yourself. The solution is to recompile AVProVideo.dll with /ARCH:SSE2 compiler flag, but you will probably have to contact AVPro support for that.

1 Like