Error when importing the package to Unity
Closed this issue ยท 8 comments
I Get this error when I import the package from the the Unity Package Manager via Git URL
error CS1566: Error reading resource 'DiscordRPC.xml' -- 'Could not find a part of the path 'Packages\com.lachee.discordrpc\Runtime\DiscordRPC.xml'.'
Hello thanks for this issue. I have reproduced it and investigating it.
Can you give the unity version you're using ?
I'm using Unity Version 2021.3.23f1
are there any updates?
ah sorry been super busy last 2 weeks. I'll look into it today for you :)
tysm!!
error closing. Didn't realise fixes #issue
closed issues automagically
This has been resolved with Release v1.1.1
I still have an issue with this. Same error, only it doesn't necessarily appear when importing, rather once I compile my scripts (after any code change). From what I understand Unity deletes the file since it can't
error CS1566: Error reading resource 'DiscordRPC.xml' -- 'Could not find a part of the path 'C:\pathtoproject\Packages\com.lachee.discordrpc\Runtime\DiscordRPC.xml'.'
I seem to have fixed this by manually creating the desired path and copying the files there (along with a .meta file from version 1.0.3).