Jump to content

dlc_support_strings cause crash when name is nil


krylincy
  • Version: PC/MAC/Linux Fixed

It sometimes occures, dont know what prefab triggers this bug, but along with the code there is no check if "name" is nil.
to fix it i added those lines in the file:

(dlcsupport_strings.lua line 99)

if name == nil  then
        name = ""
		print("->>>>> BUUUG: Emty Name")
		print("adjective: "..adjective)
		print(usePrefix)
    end

In the log i can see that this happens multiple times with "adjective" is "wet" and "usePrefix" is true. I think this is not helpfull to reproduce but maybe you can add a check for nil in the code.

 

2019-05-25 22_31_08-Greenshot.png


Steps to Reproduce
I don't know, sorry.
  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Thanks for the report, I can add a nil check, but I'd like to know the underlying issue - if this happens again, could you press 'report bug' and enter a short description? It uploads your log and files and gives me information to delve deeper.

Thanks :)

Share this comment


Link to comment
Share on other sites


×
  • Create New...