We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug in detail: Call SendCustomEvent from AnimationEvent using Animator etc. Some situations cause problems when running in the editor.
Provide steps/code to reproduce the bug:
public class Test : UdonSharpBehaviour { int num; private void Start() { num = 123; } public void Method() { Debug.Log($"num={num}"); } }
Execute SendCustomEvent with "Method" argument in AnimationEvent.
When executed in the editor, the following is output to the console.
num=123 num=0
The first output is the result of being run via Udon Behavior. The second output is the result of a reflection run via UdonSharpBehaviour.
Expected behavior: It should only be called once, but it has been called twice. The second call should not be made.
Additional Information: Provide any additional information here.
The text was updated successfully, but these errors were encountered:
7087ad4
MerlinVR
No branches or pull requests
Describe the bug in detail:
Call SendCustomEvent from AnimationEvent using Animator etc.
Some situations cause problems when running in the editor.
Provide steps/code to reproduce the bug:
Execute SendCustomEvent with "Method" argument in AnimationEvent.
When executed in the editor, the following is output to the console.
The first output is the result of being run via Udon Behavior.
The second output is the result of a reflection run via UdonSharpBehaviour.
Expected behavior:
It should only be called once, but it has been called twice.
The second call should not be made.
Additional Information:
Provide any additional information here.
The text was updated successfully, but these errors were encountered: