Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IL2CPP line numbers missing when using Cysharp #1515

Open
bitsandfoxes opened this issue Dec 12, 2023 · 0 comments
Open

IL2CPP line numbers missing when using Cysharp #1515

bitsandfoxes opened this issue Dec 12, 2023 · 0 comments
Labels
Wont Fix This will not be worked on

Comments

@bitsandfoxes
Copy link
Contributor

bitsandfoxes commented Dec 12, 2023

Exceptions originating from Cysharp fail to have line numbers. The IL2CPP event processor reports their instruction address as 0x0.

I.e.

using Cysharp.Threading.Tasks;
    
public async void DoAThingAsync()
{
    Debug.Log("Attempting to do a thing");

    await UniTask.Delay(TimeSpan.FromSeconds(1)); // Asynchronous delay

    Debug.Log("Actually doing a thing.");
    throw new Exception("What what?");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Wont Fix This will not be worked on
Projects
Status: No status
Development

No branches or pull requests

1 participant