Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2020.1.X

Votes

1

Found in

2020.1.0a2

2020.1.0b1

2020.2

Issue ID

1228198

Regression

Yes

Editor crashes on EventHandler`1<TEventData_REF>:invoke_void_TEventData when invoking an event

Scripting

-

Reproduction steps:
1. Open the user's attached "Montreal.zip" project
2. Load the "Sandbox" scene
3. Enter Play mode
-- Observe the crash:

Reproduces with: 2020.1.0a2, 2020.1.0b3, 2020.2.0a3
Not reproducible with: 2019.3.0f6, 2020.1.0a1
Could not test with 2018.4 and 2017.4 versions due to multiple compilation errors

Notes: the crash occurs when calling "Raised?.Invoke(data);" method at Assets\Scripts\Events\EventBase.cs line 38

First lines of the stack trace:
0x000001EF21144235 (Mono JIT Code) (wrapper delegate-invoke) VacuumBreather.Montreal.Events.EventHandler`1<TEventData_REF>:invoke_void_TEventData (TEventData_REF)
0x000001EF21143F95 (Mono JIT Code) [D:\Downloads\case_1228198-Montreal\Assets\Scripts\Events\EventBase.cs:39] VacuumBreather.Montreal.Events.EventBase`1<T_REF>:Raise (T_REF)
0x000001EF21143E9B (Mono JIT Code) [D:\Downloads\case_1228198-Montreal\Assets\Scripts\Map\GameMapInformation.cs:260] VacuumBreather.Montreal.Map.GameMapInformation:Refresh ()
0x000001EF21143E0B (Mono JIT Code) [D:\Downloads\case_1228198-Montreal\Assets\Scripts\Map\GameMapInformation.cs:249] VacuumBreather.Montreal.Map.GameMapInformation:Start ()
0x000001F17FF07990 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

  1. Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.0a11

  2. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.0b10

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.