-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.x] Return RID instead of Object id in area-body_shape_entered-exited signals. #42743
Conversation
2dc217c
to
6f1dd7e
Compare
The debugger is saying the RID is not a valid resource of the |
6f1dd7e
to
b7a744f
Compare
Rebased following merge of #42715. |
For info, the |
The |
Thanks! |
Today I tested my 3.3.2 3D project against 3.4 beta2 and this RID change broke my project and stopped collisions for area-body_shape_entered-exited signal. The reason is the pre-3.4 default typing of body_id as Int for signal template code:
Once I switched body_id types to the new RID typing, everything went back to working fine.
|
You should get an error similar to this one at runtime: But it would be great to get an error in the script too. I wonder how complicated it would be to add. |
That is the case, yes. I missed seeing it first time around, in my panic :) |
3.2 version of #42742.