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

Plugin no longer needs to warn against using Foreach in [BurstCompile] code #2015

Closed
ghost opened this issue Feb 3, 2021 · 0 comments · Fixed by #2017
Closed

Plugin no longer needs to warn against using Foreach in [BurstCompile] code #2015

ghost opened this issue Feb 3, 2021 · 0 comments · Fixed by #2017
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Feb 3, 2021

As of Burst 1.4, the Try / Finally patterns are supported in burst compiled code.

https://docs.unity3d.com/Packages/com.unity.burst@1.4/manual/docs/CSharpLanguageSupport_Lang.html#language-support

There are some catches such as the "Finally" not being processed on exception thrown but otherwise functional.

I would put in a PR to comment out the exact lines for this warning instead of adding yet another issue to the pile but I dont know the exact formatting for PRs here so I'll have to leave it up to someone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant