EpicOnlineTransport icon indicating copy to clipboard operation
EpicOnlineTransport copied to clipboard

Absolute file path for libraryPath in EOSSDKComponent.cs

Open Molder72 opened this issue 3 years ago • 0 comments

in order to create a unity package I need that this path is absolute, in this way can its work when is place in Asset folder, and in my case when move in Packages folder.

please, in file EOSSDKComponent.cs

add in line 7 using System.IO;

overwrite line 211 from
var libraryPath = "Assets/Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/" + Config.LibraryName; To var libraryPath = Path.GetFullPath(Path.Combine("Packages/vis2k.mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/", Config.LibraryName));

thank you

Molder72 avatar Dec 15 '21 10:12 Molder72