Search Issue Tracker

Active

Votes

0

Found in [Package]

2.0.0

Issue ID

MLA-2609

Regression

No

Editor crashes on mono_class_setup_methods when ML Agents are used

Package: ML Agents

-

Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “Assets/HumanoidTesting.unity“ Scene
3. Enter the Play Mode

Expected result: The Play Mode continues
Actual result: Editor crashes

Reproducible with: 3.0.0-exp.1 (2022.3.50f1)
Couldn’t test with: 2021.3.35f1, 6000.0.22f1 - difficulties upgrading/downgrading

Reproducible on: M1 Max MacOS 14.5
Not reproducible on: No other environment tested

First few lines of the stack trace:

{noformat}#0 0x000002a1fb552c in mono_class_setup_methods
#1 0x000002a1fae9f0 in mono_class_get_methods
#2 0x000001055d75e8 in scripting_class_get_method_from_name_filter(ScriptingClassPtr, char const*, int, ScriptingMethodFiltering::MethodSearchFilter, ScriptingTypePtr const*)
#3 0x000001055ae454 in Scripting::GetMethodWithSearchOptions(ScriptingClassPtr, char const*, ScriptingMethodFiltering::MethodSearchFilter)
#4 0x0000010606a944 in AnnotationManager::Refresh()
#5 0x0000010606a564 in AnnotationManager::GetAnnotations(){noformat}

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.