Lachee / discord-rpc-unity

C# custom implementation for Discord Rich Presence. Unity package to easy add to your own games.
MIT License
39 stars 2 forks source link

Error when importing the package to Unity #11

Closed Waffuru77 closed 11 months ago

Waffuru77 commented 11 months ago

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'.'

Lachee commented 11 months ago

Hello thanks for this issue. I have reproduced it and investigating it.

Can you give the unity version you're using ?

Waffuru77 commented 11 months ago

I'm using Unity Version 2021.3.23f1

Waffuru77 commented 11 months ago

are there any updates?

Lachee commented 11 months ago

ah sorry been super busy last 2 weeks. I'll look into it today for you :)

Waffuru77 commented 11 months ago

tysm!!

Lachee commented 11 months ago

error closing. Didn't realise fixes #issue closed issues automagically

Lachee commented 11 months ago

This has been resolved with Release v1.1.1

webik150 commented 4 months ago

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).