colyseus / colyseus-unity-sdk

⚔ Colyseus Multiplayer SDK for Unity
https://docs.colyseus.io/getting-started/unity-sdk/
MIT License
371 stars 100 forks source link

Fix error log showing every time when Unity refreshes #196

Closed JoseLSDev closed 2 years ago

JoseLSDev commented 2 years ago

Fix error log showing every time Unity refreshes. Added a check if the directory path to the icon exists in Assets directory otherwise use the Packages directory.

endel commented 2 years ago

Thanks for the PR @JoseLSDev. We must consider the correct Path.DirectorySeparatorChar though, to support both Windows and macOS.

JoseLSDev commented 2 years ago

@endel committed an update to address cross platform

endel commented 2 years ago

Awesome, thanks! 🎉