View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000231||Gameplay + OpenGL||[All Projects] Bug||public||2017-02-10 07:27||2017-02-11 05:03|
|Summary||0000231: Trying to use null in Class<Actor> property causes crash|
This will cause a crash at start-up, though it shouldnt. While I can simply just not use what's in the Default block, if we want to have another inheriting actor wipe out the old/newmonster properties, using null will cause a crash.
The last thing it reads before the crash is "Cannot convert to string".
|Tags||No tags attached.|
Crash is fixed in d2affc7.
'Cannot convert to string' error is still here, I'm not sure how this should work to be honest.
|Most likely there is no need to add anything to Default in this case. Those members will be initialized with null anyway.|
The main problem is inheriting from an actor which it's defined in and I want to get rid of the definition. I.e. they have a Zombieman and I want it null in the child of the class that has said Zombieman defined.
|I cannot say for sure why null doesn't work (i.e. is it intentional or not) but "None" does.|
|I believe the given assignment doesn't work because it's impossible to assign null to a string variable in general.|
|All this stuff hasn't received any real testing yet, I was planning to do that after scriptifying the menu and export as many actor properties as possible to the custom system instead of hard coding them in the engine.|
|2017-02-10 07:27||Major Cooke||New Issue|
|2017-02-10 08:17||_mental_||Assigned To||=> _mental_|
|2017-02-10 08:17||_mental_||Status||new => acknowledged|
|2017-02-10 08:24||_mental_||Note Added: 0000489|
|2017-02-10 08:30||_mental_||Note Added: 0000490|
|2017-02-10 08:30||_mental_||Status||acknowledged => resolved|
|2017-02-10 08:30||_mental_||Resolution||open => fixed|
|2017-02-10 08:53||Major Cooke||Note Added: 0000491|
|2017-02-10 08:54||Major Cooke||Note Edited: 0000491||View Revisions|
|2017-02-10 09:18||_mental_||Note Added: 0000493|
|2017-02-10 09:49||_mental_||Note Added: 0000495|
|2017-02-11 05:03||Graf Zahl||Note Added: 0000506|