Jump to content

Cannot load asset bundles? (.ksp files)


Recommended Posts

I have been trying to load some .ksp files, but so far no luck, it fails for no apparent reason...

I followed the code in sarbian's post, but wathever i do i get this error: "Cannot find bundle definition with name 'EngineLight/enginelight'... (The .ksp filed is placed at GameData/EngineLight/enginelight.ksp)

 

I believe i packaged the assets (a Unity prefab) correctly, added them to a assetbundle and used the part-tools to build the .ksp file, then placed it in the gamedata directory and wrote code to load it. (Exactly the same as sarbian's but inside a singleton class, and made to extract gameobjects instead of shaders)

The 'auto' checkbox in the packager is disabled, but enabling it does not help. 

 

Awaiting help, thank you in advance!

Link to comment
Share on other sites

Well, that was it... Using 5.3.2, updated too much :blush:

It's nice Unity provides old downloads.

 

Thank you for help :) (Also, any chance this information may be provided in sarbian's post?)


EDIT: Also, for anybody having this issue, remeber to set your .NET to 3.5 in visual studio. Otherwise the asset loader itself will fail!

 

 

 

Edited by tajampi
Link to comment
Share on other sites

  • 1 month later...

PLEASE HELP!!!!!!!!!!

i reinstalled my game for a fresh start after my loading screen stopped at "loading asset bundle definitions" its still there after the reboot, i have no idea how to fix it!!! please help, i cant do anything im on steam and PLEASE PLEASE PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Link to comment
Share on other sites

4 hours ago, thereverseflash said:

PLEASE HELP!!!!!!!!!!

i reinstalled my game for a fresh start after my loading screen stopped at "loading asset bundle definitions" its still there after the reboot, i have no idea how to fix it!!! please help, i cant do anything im on steam and PLEASE PLEASE PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This has nothing to do with the original post. The supports forums are here : http://forum.kerbalspaceprogram.com/index.php?/forum/7-gameplay-and-technical-support/

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...