-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's not actually just a warning - #15
Comments
I think this may be due to a missing .meta file for DiscordRPC.xml. I noticed that DiscordRPC.xml exists in the folder when viewed in File Explorer, but doesn't have a .meta file. Every other file with a .meta file in that directory appears properly in the editor, and when I tried renaming or copying DiscordRPC.xml, Unity gave this warning:
Maybe since it's in an immutable folder when imported as a package, it's unable to generate the .meta file? In this case, it might work fine in development, since I imagine it would be in a normal mutable folder rather than in the package folder Unity doesn't want to touch. |
same issue here |
1 similar comment
same issue here |
Same. |
I found a workaround. I moved the package to /scripts/ and modified the |
Searching around the code for references, I think it might be due to the following:
I have not tested this to confirm. Someone can test and add a pull request if they want to try fix this, but otherwise, I was able to install the package (via the "+" icon in Unity and entering the Git URL) and treat it as a warning, so I think it's not critical to fix. Edit: The warnings are:
The errors are:
|
After using it for a few days I now get that error and it wouldn't let me run my game. I had to manually add the file to the location to make it work |
If I Run
openupm add [email protected]
(Also tried 3.2.1, since 3.0.3 your library wants doesn't actually exist)
and then
openupm add com.lachee.discordrpc
I get this warning:
error CS1566: Error reading resource 'DiscordRPC.xml' -- 'Could not find a part of the path 'C:\Users\bloxx\FitZen VR\Packages\com.lachee.discordrpc\Runtime\DiscordRPC.xml'.'
Which won't allow me to actually run the build
The text was updated successfully, but these errors were encountered: