Skip to content

[BUG] player.WaitForState() crashes when set for 2 or more players #158

Description

@tulayha

What happened?

Using player.WaitForState() causes errors when used for more than 1 player at a time.
Potential issue with static assignment for callback which gets overwritten internally on unity side (single static assignment).

Version

1.5.4

What is your environment?

Unity editor: 2022.3.62f3
WebGL build

Link to original discussion

No response

Relevant log output

Image Image Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions