Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Game Crashes on start

Discussion in 'Windows' started by paulo-squint, Mar 29, 2023.

  1. paulo-squint

    paulo-squint

    Joined:
    Nov 24, 2021
    Posts:
    1
    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?
     

    Attached Files:

  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,628
    Hi,

    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.
     
    paulo-squint likes this.