HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
42 stars 4 forks source link

Build AssetBundles "Moving file failed" #29

Open AudioKnight opened 7 months ago

AudioKnight commented 7 months ago

Just updated to 1.3 When I click on Build AssetBundles, it works like normal up to this point:

Moving Temp/unitystream.unity3d to E:/Modding/Lethal Company/LethalSDK_Project/Assets/AssetBundles/christmasvillage.lem: The system cannot find the file specified.

I put my .lem in and it worked fine, but this error causes me to force quit Unity. Edit: I can click Cancel and it allows me to just break out of it.

As a sidenote: When updating the SDK, is it as simple as just extracting the new files over the old ones and replacing them?

HolographicWings commented 7 months ago

Just updated to 1.3 When I click on Build AssetBundles, it works like normal up to this point:

Moving Temp/unitystream.unity3d to E:/Modding/Lethal Company/LethalSDK_Project/Assets/AssetBundles/christmasvillage.lem: The system cannot find the file specified.

I put my .lem in and it worked fine, but this error causes me to force quit Unity. Edit: I can click Cancel and it allows me to just break out of it.

As a sidenote: When updating the SDK, is it as simple as just extracting the new files over the old ones and replacing them?

Duplicated files, read the Unity console to find which files are duplicated https://github.com/HolographicWings/LethalSDK-Unity-Project/issues/11

and yes, for updating SDK just overwrite

AudioKnight commented 7 months ago

Issue resolved. There was an extra "materials" folder in assets/mods/christmasvillage/christmas-assets-free/fbx with two blank materials. Removing this folder allowed the asset bundles to successfully build.

Yuetxt commented 7 months ago

Where can I find the .lem file to put in? I have the same error as the OP in the beginning:

Moving Temp/unitystream.unity3d to E:/Modding/Lethal Company/LethalSDK_Project/Assets/AssetBundles/christmasvillage.lem: The system cannot find the file specified.

I looked in the Plugins folder in Assets and couldn't see anything.

HolographicWings commented 7 months ago

Where can I find the .lem file to put in? I have the same error as the OP in the beginning:

Moving Temp/unitystream.unity3d to E:/Modding/Lethal Company/LethalSDK_Project/Assets/AssetBundles/christmasvillage.lem: The system cannot find the file specified.

I looked in the Plugins folder in Assets and couldn't see anything.

the Moving Temp/unitystream.unity3d mean you have two files with the same name in the Unity project, nothing else

Yuetxt commented 7 months ago

Is there supposed to be two files with the same name in the project by default? I get this error when I load up the project for the first time and immediately build.

NVM. I finally understood what AudioKnight meant lol by the extra "materials" folder. I am dumb. Problem fixed.

Thank you so much for the SDK, Holo!