Physics.OverlapSphere or Physics.OverlapSphereNonAlloc Not Working With Photon Fusion

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Physics.OverlapSphere or Physics.OverlapSphereNonAlloc Not Working With Photon Fusion

TheDruid
2023-02-10 09:11:46

Before photon starts everthing works normal but when Runner starts to work Physics.OverlapSphere or Physics.OverlapSphereNonAlloc not working . When Runner connects to room these methods returns zero colliders. I need help about this issue.

Unity Version: 2021.3.11f1(LTS)

Photon Version: Fusion 1.1.4.609+951c4265

Comments

TheDruid
2023-02-10 11:21:21

Solution: need to get the "Physics Scene" from the Runner and perform your queries there... It's the unity/physx PhysicsScene object, it has the same API as the static one.

Back to top