When raycasting outside of _physics_process space state is inacessible

Godot Version

4.2.2

Question

Hello I’m trying to call raycast.force_raycast_update() outside of _physics_process (in my case for when the player shoots - it would be in _unhandled_input)

However when I try to do this it says the “space state is inaccessible right now, wait for iteration or physics process notification”.

This is definitely because I’m running physics on a separate thread per the project settings

is there anyway to achieve this functionality or am I just stuck with only updating in physics_process or not using physics in parallel

Thank you

Weird since the docs say you can call force_raycast_update even outside of physics_process. This might be a bug or a documentation issue, you may want to create a simple reproduction project and create a bug issue on GitHub?