HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
43 stars 6 forks source link

Unable to create AssetBundle #11

Closed GoblinFiend closed 11 months ago

GoblinFiend commented 11 months ago

Capture

Hello! I love your mod btw and want to eventually be able to make a map. I was testing the SDK through Unity and have been trying to create a new scrap item. I believe I did everything correct but also I do not have much Unity experience. When I try to export the assetbundle I am met with an error. I've tried manually installing bepinex and lethalexpansion to see if that would fix the issue as opposed to using Thunderstore but no matter where I try to import the bundle to I still receive this error. If you could help guide me whatsoever it would be greatly appreciated!

HolographicWings commented 11 months ago

Capture

Hello! I love your mod btw and want to eventually be able to make a map. I was testing the SDK through Unity and have been trying to create a new scrap item. I believe I did everything correct but also I do not have much Unity experience. When I try to export the assetbundle I am met with an error. I've tried manually installing bepinex and lethalexpansion to see if that would fix the issue as opposed to using Thunderstore but no matter where I try to import the bundle to I still receive this error. If you could help guide me whatsoever it would be greatly appreciated!

This issue happen because you have several assets of the same name, check every file and rename them if two of them have the same name The errors you sent explicitely tells what files must be renamed (do not rename the Template one, only the Trophy one) image If rename it doesn't work, clear and rebake the navmesh it in the Environment object of your moon

GoblinFiend commented 11 months ago

Thank you so much! It worked! I will be uploading my mod adding 1 new scrap item into the game later today after configuring some more option. You're the best for replying so fast.