Merge pull request #300 from satanabe1/fix-bad_image_format_exception

Fix BadImageFormatException when StackTrace captured on UniTaskTracker
This commit is contained in:
Yoshifumi Kawai
2022-03-03 05:34:07 +09:00
committed by GitHub

View File

@@ -148,7 +148,7 @@ namespace Cysharp.Threading.Tasks.Internal
foreach (var candidateMethod in methods)
{
var attributes = candidateMethod.GetCustomAttributes<StateMachineAttribute>();
var attributes = candidateMethod.GetCustomAttributes<StateMachineAttribute>(false);
if (attributes == null)
{
continue;