-
-
Notifications
You must be signed in to change notification settings - Fork 847
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
UniTask does not work in .NET Framework environment after adding UniTask.AsValueTask #535
UniTask does not work in .NET Framework environment after adding UniTask.AsValueTask #535
Conversation
The suggested changes here breaks the nuget package. I suggest instead checking the API compatibility level. ( |
Also, I just tried this in 2021.3.30 and I didn't get any errors in .Net Standard 2.1 or .Net Framework. Perhaps you should start with an issue describing the exact repro steps. |
@timcassell Thanks for pointing that out! Certainly this change seems problematic. Regarding reproducibility, here too, Unity 2021.3.34 did not show any errors in .NET Framework . However, with Unity2021.3.16, the error occurs. I guess the problem is caused by the changes made during this time. |
Apparently the error occurs in .NET Framework environments up to Unity 2021.3.27. The error does not seem to occur in Unity 2021.3.28 and above, so it must be caused by changes made during that time. |
From 2021.3.28 release notes: |
I see, that was the reason. If that's true, it would mean that the error occurs in, say, Unity 2022.3.0 as well. I wonder if I have to set up a conditional compilation that specifies all the relevant versions, although it would be troublesome... |
I tried it on Unity 2022.3.0 with .NET Framework and it was true... |
This reverts commit 7d31299.
Thank you for the detailed investigation. |
Thanks for setting the guidelines! That made it a lot easier to understand. I'll be submitting my revisions right now! |
Probably after #533 was implemented, I started getting the following error in the .NET Framework environment of Unity2021.
This is a modification of that, revising the conditional compilation section.
However, the error itself does not seem to be a case of missing definitions, so there may be an answer that takes into account the .NET Framework environment.
Either way, the fix for this problem seems urgent.