Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug SteamVR and IL2CPP

Discussion in 'VR' started by AGaming, Oct 10, 2023.

  1. AGaming

    AGaming

    Joined:
    Dec 26, 2013
    Posts:
    100
    Has anyone encountered this issue? Initially, the game was built in Mono and everything was fine. After some improvements, I was able to compile in IL2CPP, as I had issues with saves in IL2CPP. However, I discovered a problem: when launching the game through Steam, my controllers don't work. The game tracks them, but the hand doesn't grip, and the buttons don't function. It says the controller's assembly isn't found. Yet, when I go to the game's folder where Steam installed it and launch it manually, everything works perfectly. The path to the manifest file \StreamingAssets\SteamVR\actions.json hasn't changed, neither in Mono nor in IL2CPP. I'm using Unity 2020.3.45F1.
     
  2. AGaming

    AGaming

    Joined:
    Dec 26, 2013
    Posts:
    100
    And the most interesting part is, if I install the game on drive D, everything works perfectly in IL2CPP. But if I install it on any other drive, the controllers can't recognize the layout.