-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Calling async ServerRpc that returns value crashes the server on 2021.2 #997
Comments
We will try have look at this a resolve soon as possible. Thank you for the report and project to replicate it in. |
I can't seem to replicate the crash using the Player script. I've also added extra tests to make sure it works for other return types. |
seems to be an issue that is effecting unity 2021.2.4 |
Yeah, 2021.1.x works fine. I haven't tested previous 2021.2.x versions, but 2021.2.5 is also broken. |
🎉 This issue has been resolved in version 113.0.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
Simply calling an async UniTask ServerRpc from a client instantly crashes the server, whether it be in the editor or on a build, with Unity 2021.2. Also tested on 2021.1.13, but there was no issue there.
Repro project
Tiny project with a simple Player script that calls an async rpc to get randomized X position when spacebar is pressed.
Mirage Async RPC Test.zip
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
The calling code looks like this:
Crash log:
Player.log
The text was updated successfully, but these errors were encountered: