ID:2839835
 
Resolved
Trying to load a map with invalid variables would result in a crash.
BYOND Version:515.1596
Operating System:Windows 10 Home 64-bit
Web Browser:Firefox 107.0
Applies to:Dream Maker
Status: Resolved (515.1597)

This issue has been resolved.
Descriptive Problem Summary: When a specified variable name is changed/removed from an atom, if that atom has a instance on the map editor with a modified value of that variable, Dream Maker will report the error and crash.

Numbered Steps to Reproduce Problem:
1) Download the following test project: http://files.byondhome.com/Higoten/Tests/ Varible%20Change%20Test.zip
2) Attempt to compile the project. Observe that Dream Maker has crashed.

The project above contains /turf/Test1 which originally had a variable named id. The map in the project has an instance of /Test1 where the value of id was modified from 2 to 1. When the variable was renamed from id to id2 in the code definition and project compiled, the crash occurs as shown with the steps above.

Expected Results: For Dream Maker to remain responsive.

Actual Results: Dream Maker crashes.

Does the problem occur:
Every time? Or how often?Every time.

When does the problem NOT occur? Unknown.

Workarounds: Modify the .dmm directly with a text editor to reflect the updated variable name changes or removals. Otherwise, remove the instances from the map before making variable name changes.
Lummox JR resolved issue with message:
Trying to load a map with invalid variables would result in a crash.