ID:2498280
 
Resolved
Procs that ended because their src was deleted generated errors in world/Error() and were caught in try/catch, which they shouldn't have been.
BYOND Version:512.1477
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 78.0.3872.0
Applies to:Dream Daemon
Status: Resolved (512.1478)

This issue has been resolved.
Descriptive Problem Summary:

Since 512.1473 (could only test with 1474 due to the scaling bug) world/Error() has been triggering with a garbage ref'd exception when changing client.mob (or mob.key or mob.client)

Numbered Steps to Reproduce Problem:

1) Run the project I sent you.
2) Load your character.
3) Check world.log for some oddness.

Code Snippet (if applicable) to Reproduce Problem:
var/mob
new_mob = new(locate(1,1,1))
old_mob = src
client.mob = new_mob
del(old_mob)


Expected Results:

No issues.

Actual Results:

Nonsense runtime error... and no issues.

Does the problem occur:
Every time? Or how often? Every time.
In other games? I assume so
In other user accounts? Yep
On other computers? Yep

When does the problem NOT occur?

Using 1472 or earlier.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

See above.


Workarounds:

None, nothing to plug up.
Lummox JR resolved issue with message:
Procs that ended because their src was deleted generated errors in world/Error() and were caught in try/catch, which they shouldn't have been.