Search Unity

Question Development build crashed with "Failed to load 'NVUnityPlugin', expected x64 architecture"

Discussion in 'Windows' started by Wappenull, Oct 21, 2022.

  1. Wappenull

    Wappenull

    Joined:
    Oct 29, 2013
    Posts:
    51
    One of our Steam game player got crash on launch.
    The full message is "Failed to load 'NVUnityPlugin', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture."

    It is very identical to this thread (which has no answer yet)
    https://answers.unity.com/questions/1910222/failed-to-load-nvunityplugin.html

    Here is situation:
    - I built game to sell on Steam with development build (for getting full stacktrace reported on Unity cloud service)
    - Unity version is 2022.1.15f1
    - Client's is (probably) running Windows 10 64-bit

    ** I don't have crash log and probably cannot obtain one. It happened on one of my Steam player who bought my game.
    From a quick search it is part of this library, which I never used:
    https://docs.unity3d.com/ScriptReference/NVIDIA.NVUnityPlugin.html

    Is there anything I can do for this player?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    That error message is harmless and wouldn't cause a crash. How did you determine that was the issue?
     
  3. Wappenull

    Wappenull

    Joined:
    Oct 29, 2013
    Posts:
    51
    One of our player reported it as such in their review , maybe it was crashed by something else by this message was popped up before that.

    Here was player's original message
    (Translated) I am using 64-bit OS but I got this error message on launch and cannot play the game.
    upload_2022-10-21_23-49-14.png

    For now I reply to him to update Nvidia driver...
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Yeah, you will have to ask him for logs if that doesn't help. Unfortunately I think they just saw that message in the log and assumed it was the problem whereas in reality it's something else.

    FWIW NVUnityPlugin is used for DLSS in HDRP. But if it fails to load, the worst thing that can happen is that DLSS doesn't work.
     
  5. Wappenull

    Wappenull

    Joined:
    Oct 29, 2013
    Posts:
    51
    Update: after some time, reviewer posted an update (also in Japanese).
    That after update Nvidia driver the crash is gone.

    So I think this issue is solved.
    Tautvydas-Zilys Thank you for the insight!