poolcool2 Posted July 19, 2020 Share Posted July 19, 2020 "My" mod ,Niko -Reilluminated, ended up having a problem with an item, internally called the "nobulb", causing a crash but only when caves are enabled. I have no clue what is causing the problem, the item has nothing that references the caves in any way and the crash log mentions that the problem was with owner being a nil value in line 10 of the inventory item component. To make things more confusing I only recently ran into this problem on the latest update of the mod which had nothing to do with caves at all and even more confusing did not change the code of the item at all. To make things worse my computer can't run caves and thus I have no way of testing the mod myself. If somebody could tell me how to fix it and why it has broken to begin with that would be great. Luckily my friend was able to send me a crash log. client_log_2020-07-18-18-39-58.txt nobulb.lua modmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/120222-caves-causing-a-crash-with-my-mod-please-help/ Share on other sites More sharing options...
CarlZalph Posted July 19, 2020 Share Posted July 19, 2020 After inst.entity:SetPristine(), you should be bailing out if the thing isn't mastersim. Check other prefabs. Link to comment https://forums.kleientertainment.com/forums/topic/120222-caves-causing-a-crash-with-my-mod-please-help/#findComment-1355559 Share on other sites More sharing options...
poolcool2 Posted July 21, 2020 Author Share Posted July 21, 2020 On 7/18/2020 at 11:40 PM, CarlZalph said: After inst.entity:SetPristine(), you should be bailing out if the thing isn't mastersim. Check other prefabs. That did fix the problem, thank you. Still have no clue why it is only just now a problem. Link to comment https://forums.kleientertainment.com/forums/topic/120222-caves-causing-a-crash-with-my-mod-please-help/#findComment-1356144 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