Oliver Brakmann
35dfb54459
Fix trait lookup of destroyed actor in SpawnActorOnDeath
...
The sequence of events leading to that crash looks like this:
1. Truk enters a building.
2. `Enter.FindAndTransitionToNextState()` is running, and since `DonateSupplies` uses `EnterBehaviour.Dispose`, `Actor.Dispose()` runs for the actor, queueing a FrameEndTask.
3. Truk is then killed:
* `Health.InflictDamage()` first calls `SpawnActorOnDeath.Killed()`, which queues a FrameEndTask during which some trait lookups happen.
* `Health.InflightDamage()` then calls `Actor.Dispose()` as well, queueing another FrameEndTask (which will never run, the game crashes before).
4. After the tick, the first FrameEndTask disposes of the actor. The second FrameEndTask would spawn the crate from the truk, but the trait lookups then fail and throw an exception.
2016-05-07 14:21:41 +02:00
..
2016-03-04 15:13:55 +01:00
2016-04-15 20:43:04 +02:00
2016-04-17 21:48:32 +02:00
2016-04-15 20:43:04 +02:00
2016-04-10 09:41:12 -04:00
2016-04-21 17:21:29 +01:00
2016-02-21 16:30:48 +00:00
2016-04-09 13:41:08 -04:00
2016-05-01 12:29:39 +02:00
2016-04-02 13:00:35 +02:00
2016-04-02 14:36:26 +02:00
2016-04-21 17:21:29 +01:00
2016-04-10 22:34:10 +02:00
2016-05-01 12:29:38 +02:00
2016-04-17 21:48:32 +02:00
2016-04-21 17:21:29 +01:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-03-22 17:03:37 -04:00
2016-04-15 14:06:21 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-15 20:43:04 +02:00
2016-02-21 16:30:48 +00:00
2016-04-15 20:43:04 +02:00
2016-02-21 16:30:48 +00:00
2016-03-28 17:20:49 +02:00
2016-03-28 17:20:49 +02:00
2016-04-29 04:05:33 +01:00
2016-02-21 16:30:48 +00:00
2016-04-12 21:17:04 +02:00
2016-02-23 23:33:38 +01:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-23 22:16:52 +01:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-05 16:28:33 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-09 11:59:54 -04:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-03-04 15:13:55 +01:00
2016-04-10 09:41:12 -04:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-09 11:59:54 -04:00
2016-02-21 16:30:48 +00:00
2016-04-29 12:56:05 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-03-30 02:46:19 +02:00
2016-03-30 02:46:19 +02:00
2016-03-30 02:46:19 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-15 20:43:04 +02:00
2016-04-24 20:12:49 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-03-28 16:15:44 -05:00
2016-02-21 16:30:48 +00:00
2016-03-28 17:20:49 +02:00
2016-04-15 20:43:04 +02:00
2016-02-21 16:30:48 +00:00
2016-03-12 13:12:42 +01:00
2016-05-07 14:21:41 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-22 13:01:02 +02:00
2016-04-15 20:43:04 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-04-15 20:43:04 +02:00
2016-04-03 16:46:07 +02:00
2016-02-21 16:30:48 +00:00
2016-02-21 16:30:48 +00:00
2016-03-22 17:03:37 -04:00