fix: Check "other" is mounted before accessing parent - #81
Conversation
…ngCollisionBehavior
…ent in PropagatingCollisionBehavior
WalkthroughA method in the Changes
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@VGVentures can I get a merge, please? |
|
@wolfenrain can you help me out here in getting this merged. Didn't you author this? |
|
Hi @gnarhard, I no longer have merge privileges but I'll share it with the team to see if you can get a review and merger. |
By any chance could you share a minimal reproductive sample that shows this behavior happening? It will facilitate reviewers gathering all the context about your fix. |
|
@gnarhard this seems to be a bit silent for a while, are you still able to push this forward? Can myself or the team help out in any form to push this forward? |
|
Naw I'm just procrastinating |
….com/gnarhard/flame_behaviors into hotfix/check_other_parent_is_mounted
|
@alestiago I appreciate your patience with me on this. I added a test that handles the specific scenario this PR fixes: An entity is removed while collision(s) are still processing. |
|
@erickzanardo @alestiago can we get a release with this, please? |
Status
READY
Description
After some recent Flame engine updates, hot-swapping component hitboxes threw an error trying to find the parent of the "other" entity collision. This checks that the "other" component is mounted before continuing to find the entity.
Type of Change
Summary by CodeRabbit