steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

steamvr version 2.2.0 "Error loading action manifest into SteamVR:mismatchedActionManifest"

Open MomoVCHH opened this issue 5 years ago • 32 comments

help please!

now i always get the same issue. Does somebody know, how to fix it? please see below I didn't finde a solution for it on the internet. My steamvr version is 2.2.0

"Error loading action manifest into SteamVR:mismatchedActionManifest UnityEngine.Debug:LogError(Object)"

MomoVCHH avatar Feb 08 '19 19:02 MomoVCHH

What line are you getting this error on? Can you post your actions.json somewhere? https://gist.github.com/ works

zite avatar Feb 09 '19 00:02 zite

capture

please see above

MomoVCHH avatar Feb 09 '19 16:02 MomoVCHH

i have the same problem! And another problem is controller interaction(teleport,grab,etc) works fine in editor mode but not after build.

jiakuaibu avatar Feb 19 '19 04:02 jiakuaibu

That's strange. What's your editor app id? You can find this in a scriptable object in the project under Assets/SteamVR/Resources/SteamVR_Settings.asset

zite avatar Feb 19 '19 04:02 zite

I had the same error and restating my machine resolved it.

witnessmenow avatar Feb 25 '19 10:02 witnessmenow

Restarting fixed it for me too... Do you know what causes this? I did have version control and it is possible some file got overwritten.

flightCrazed avatar Feb 28 '19 17:02 flightCrazed

I get this problem when I switch between VR projects. Restarting the computer does help, but when you switch between projects again it will keep occurring.

CurtisRose avatar Mar 04 '19 03:03 CurtisRose

I also have this issue when I branch my current project. My usual workflow is to duplicate the project and then checkout the new branch to avoid constant re imports as I switch between branches. This issue has broken that workflow.

steve-hadley avatar Mar 30 '19 12:03 steve-hadley

For more clarity the issue occurs for me because in /unityProject.vrmanifest

This: "action_manifest_path": "\actions.json",

Changed to: "action_manifest_path": "\actions.json",

So I would say the solution would be to save this as a relative path as opposed to absolute.

steve-hadley avatar Mar 30 '19 12:03 steve-hadley

I experience the same problem working with two checked out versions of the same project. I found that restarting SteamVR when switching between the projects works also.

Still a workaround of course, but less drastic.

selfishReplicator avatar Apr 17 '19 10:04 selfishReplicator

This just scared the heck out of me, as I copied my Unity project then changed some bindings, and upon playing my main project again I got this error and for a moment thought all of my bindings had changed system wide!

Turns out I must re-start SteamVR whenever switching between projects, only then are the bindings correct. It's not a huge hassle, but can be troublesome.

guiglass avatar May 08 '19 01:05 guiglass

This just scared the heck out of me, as I copied my Unity project then changed some bindings, and upon playing my main project again I got this error and for a moment thought all of my bindings had changed system wide!

Turns out I must re-start SteamVR whenever switching between projects, only then are the bindings correct. It's not a huge hassle, but can be troublesome.

That heart sinking feeling?? Yep I know it all too well. Thanks for the info, restarting fixes it.

flightCrazed avatar May 13 '19 19:05 flightCrazed

I moved my project folder and then encountered this problem. Restarting didn't fix it for me, but I found that the path is stored here: Steam\config\appconfig.json

Editing this file to point to the correct vrmanifest path and restarting SteamVR fixes this.

koochyrat avatar May 15 '19 09:05 koochyrat

I deleted the actions.json, all the binding folders, the UnityProject manifest and the SteamVR_Input folder. Then reopened my project and generated new bindings in the SteamVR_Input window. this seems to work for me.

HatzuBatzu avatar May 29 '19 07:05 HatzuBatzu

I've tried all the solutions listed above, including deleting all the .json files and the manifest and the steamvr_input folder, restarting SteamVR and re-generating everything. Still getting the same error, and my controllers aren't being found.

I've tried tracking down the problem. The traceback in Unity says this:

[SteamVR] Error loading action manifest into SteamVR: MismatchedActionManifest
UnityEngine.Debug:LogError(Object)
Valve.VR.SteamVR_Input:IdentifyActionsFile(Boolean) (at Assets/SteamVR/Input/SteamVR_Input.cs:1261)
Valve.VR.SteamVR:CreateInstance() (at Assets/SteamVR/Scripts/SteamVR.cs:179)
Valve.VR.SteamVR:Initialize(Boolean) (at Assets/SteamVR/Scripts/SteamVR.cs:98)
Valve.VR.SteamVR_Behaviour_Pose:OnEnable() (at Assets/SteamVR/Input/SteamVR_Behaviour_Pose.cs:88)

SteamVR_Input.cs calls OpenVR.Input.SetActionManifestPath(fullPath). The path being passed is correct and points to the actions.json file. Here's the definition for SetActionManifestPath():

public EVRInputError SetActionManifestPath(string pchActionManifestPath)
	{
		EVRInputError result = FnTable.SetActionManifestPath(pchActionManifestPath);
		return result;
	}

And of course we don't have source for anything below that, so it's impossible to figure out what the problems is (other than it's a bug in SteamVR, which we knew already).

Anyone have any suggestions or workarounds?

broehl avatar Jul 15 '19 16:07 broehl

Same problem here and unfortunatly no solution.... The only way is for me to use the player prefab with standard configuration. Very sad about this...

stsfh avatar Jul 24 '19 06:07 stsfh

It's super weird. Everything fine in version 2.3.2 but the same problem happened when I upgrade to 2.4.3 this morning. None of above ways works in my project. I even created a clean project and install SteamVR again but the problem persists. Looks like the new version breaks up actions system?

paperli avatar Oct 08 '19 10:10 paperli

Same here. I encounter the issue after upgrading to 2.4.3 from 2.3.2. See below. SteamVRerror

artakino avatar Oct 08 '19 15:10 artakino

This is an error in the new pathing. We’ll get it fixed and a new version up in a couple hours.

On Tue, Oct 8, 2019 at 8:22 AM artakino [email protected] wrote:

Same here. I encounter the issue after upgrading to 2.4.3 from 2.3.2. See below. [image: SteamVRerror] https://user-images.githubusercontent.com/17559833/66408042-1010fa80-e9a3-11e9-9c36-565e6c968c05.png

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/steamvr_unity_plugin/issues/315?email_source=notifications&email_token=AABQQMFFYNOXV3L2K7LETHTQNSQRZA5CNFSM4GWE5LX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUR2MY#issuecomment-539565363, or mute the thread https://github.com/notifications/unsubscribe-auth/AABQQMHKE6CRHZHWTDXK55LQNSQRZANCNFSM4GWE5LXQ .

zite avatar Oct 08 '19 17:10 zite

I currently have the same problem mentioned above.

I see that the last post is said to be fixed in a couple of hours, but 12 days after that post, I created a new project and I have that problem.

Is there more information about this error?

I am using version 2.4.5

Racso2006 avatar Oct 20 '19 21:10 Racso2006

Do you know how I can download version 2.3.2? I can't find it

So at least I can work, since with 2.4.5 I can not work for this error

Racso2006 avatar Oct 22 '19 12:10 Racso2006

https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.3.2

ellerychan avatar Oct 22 '19 13:10 ellerychan

thanks, until I get more information, it will work with version 2.3.2

Racso2006 avatar Oct 22 '19 13:10 Racso2006

Well, with version 2.3.2 I still have the same problem, I don't know how I can keep working :(

Racso2006 avatar Oct 22 '19 14:10 Racso2006

What is your editor app key in steamvr settings? This should not ever fail while in editor. If you can reproduce the error and then create a steamvr system report (SteamVR -> Menu -> Create System Report) I can better diagnose the issue. Send it to me at [removed]

zite avatar Oct 22 '19 14:10 zite

In case this is still happening to someone, what I have done is delete the following project file: Assets / SteamVR / Resources / SteamVR_Settings.asset

thanks Keith Bradner

Racso2006 avatar Oct 22 '19 22:10 Racso2006

For people who still did not find a solution. The solution which worked for me is: I searched for the "actions.json" file int the project folder it was found inside Assets_Plugins\steamvr\Input\ExampleJSON

I copied all the json files from there (actions, binding_holographic_hmd, binding_rift etc) to project root folder.

Restarted project and when clicked play it asks if you want to overwrite the Action Manifest Files with streaming assets give "yes".

This worked for me and now the fps is around 90 before it was around 50 when I was getting these errors.

Hope this helps

bilprealpha avatar Oct 23 '19 12:10 bilprealpha

_A year later happened to me again! This time nothing except what is in the screenshot worked. Maybe something as to do with your steam client being open? This is a published app. I had to add the app id in the SteamVR_Setting_s. <--didn't work after all.

image

Edit: I take it back, it did not work, with that now I get error below: image

flightCrazed avatar May 23 '20 15:05 flightCrazed

I've had the same problem (Unity 2017f4), and solved it by setting the SteamVR Input System on the partner page, like:

image

I'm using the default approach of having the actions.json and all bindings files in the game root directory.

image

However, just ran into an interesting new problem that is possibly related. If Steam itself is run as Admin, then the bindings are not found. It doesn't seem to matter if my game runs as Admin, but if Steam is running as Admin, and presumably launching SteamVR as Admin, then the bindings are not found, and I get the error.

I can't see how the path would change, but maybe a working directory has gone astray? Any suggestions?

Edit: Added SteamVR SystemReport. SteamVR-2020-07-17-AM_12_44_39.txt

bo3b avatar Jul 17 '20 07:07 bo3b

The editor app key links the running executable to an action manifest path. So if you have the same project in two locations the second location will fail as SteamVR notices the action manifest is in a different location. You can fix this by changing the editor app key so they're different in different locations. ex: Copy of project1 Location: C:\projects\myproject\path1 Editor App Key: project1

Copy of project2 Location: C:\projects\myproject\path2 Editor App Key: project2

zite avatar Jul 17 '20 20:07 zite