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.

Status: Fixed

This issue has been fixed in either a future version or updated in a previous version.


  Report Bug


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 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 account

Sign in

Already have an account? Sign in here.

Sign In Now