-
-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Closed
Milestone
Description
Godot version
4.0.beta3.mono
System information
Fedora 36
Issue description
Reading PhysicsRayQueryParameters3D.Exclude appears to cause Godot to simply exit. Setting it to a new value doesn't, actually casting rays doesn't, but reading or modifying it does. Godot simply exits without any sign of an error.
This appears to be a C# issue. Doing something equivalent in GDScript works correctly.
Steps to reproduce
- Create a 3D scene
- Add this to any node:
public override void _PhysicsProcess(double delta)
{
var rayParams = PhysicsRayQueryParameters3D.Create(
from: new Vector3(0.0f, 0.0f, 0.0f),
to: new Vector3(1.0f, 1.0f, 1.0f));
GD.Print(rayParams.Exclude); // This line is the problem.
}- Run the scene and watch as it immediately exits (without throwing any errors).
Minimal reproduction project
No response
Reactions are currently unavailable