Physics.OverlapSphere or Physics.OverlapSphereNonAlloc Not Working With Photon Fusion
The whole answer can be found below.
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).
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
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.