mouse Posted May 4, 2014 Share Posted May 4, 2014 I put a blueprint for a custom prefab in a character's starting inventory, which works just fine. But when I save and reload without using the blueprint, the blueprint disappears after reloading the save. The log shows the following error: SpawnSaveRecord [nil, <prefab>_blueprint] FAILED Then when I try to spawn the blueprint manually via debugspawn, it says the blueprint doesn't exist. Is there a command I have to put into the prefab file to add the blueprint to the list or something? Link to comment https://forums.kleientertainment.com/forums/topic/35902-custom-prefab-blueprints-and-saveload-error/ Share on other sites More sharing options...
mouse Posted May 18, 2014 Author Share Posted May 18, 2014 Well it's been 15 days. I think enough time has passed for a bump. Link to comment https://forums.kleientertainment.com/forums/topic/35902-custom-prefab-blueprints-and-saveload-error/#findComment-483740 Share on other sites More sharing options...
DevilXD Posted May 19, 2014 Share Posted May 19, 2014 Blueprints should be added automatically... I can help you, but I need some more info (log.txt, code fragments...)Ps.: If you want to add known recipe to the character, there is another way of doing this (I think)... Link to comment https://forums.kleientertainment.com/forums/topic/35902-custom-prefab-blueprints-and-saveload-error/#findComment-484281 Share on other sites More sharing options...
simplex Posted May 20, 2014 Share Posted May 20, 2014 Have you created a recipe for the blueprinted prefab? Link to comment https://forums.kleientertainment.com/forums/topic/35902-custom-prefab-blueprints-and-saveload-error/#findComment-484413 Share on other sites More sharing options...
DevilXD Posted May 20, 2014 Share Posted May 20, 2014 Right, blueprint will be added, if there is recipe linked to it... Link to comment https://forums.kleientertainment.com/forums/topic/35902-custom-prefab-blueprints-and-saveload-error/#findComment-484514 Share on other sites More sharing options...
mouse Posted May 20, 2014 Author Share Posted May 20, 2014 Blueprints should be added automatically... I can help you, but I need some more info (log.txt, code fragments...) Ps.: If you want to add known recipe to the character, there is another way of doing this (I think)... Have you created a recipe for the blueprinted prefab? Right, blueprint will be added, if there is recipe linked to it... Probably the easiest way to go about this would be to just download the character and see for yourself. http://steamcommunity.com/sharedfiles/filedetails/?id=255833508 Download the character and start a new game. After the world is generated and Maxwell stops talking, take note on the two blueprints in your inventory. Don't use them. Instead, save and quit to the main menu then reload the save. One of the blueprints should now be missing and the aforementioned error will be in the log. You can take a look at my lua files and tell me if something is missing. To the best of my knowledge, making a blueprint just involves putting "_blueprint" after the prefab's name in the instance you want a blueprint. Link to comment https://forums.kleientertainment.com/forums/topic/35902-custom-prefab-blueprints-and-saveload-error/#findComment-484580 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now