Skip to content

Added early return if no ros2 node - #1113

Merged
jhanca-robotecai merged 1 commit into
o3de:developmentfrom
RobotecAI:nprokopiuk/fix_sim_interface_crash
Oct 26, 2026
Merged

jhanca-robotecai merged 1 commit into
o3de:developmentfrom
RobotecAI:nprokopiuk/fix_sim_interface_crash

Conversation

@norbertprokopiuk

Copy link
Copy Markdown
Contributor

What does this PR do?

PR adds early return to prevent crash of Simulation Interfaces ros2 plugins if ros2 node is not available. checks added in both places to protect any potential usage of RegisterInterface

How was this PR tested?

built in nonunity with SDK and run ctrl+alt+g in editor. without this fix o3de crashes. this fix eliminates it.

Signed-off-by: Norbert Prokopiuk <norbert.prokopiuk@robotec.ai>
@jhanca-robotecai
jhanca-robotecai merged commit b1968cf into o3de:development Oct 26, 2026
3 checks passed
@jhanca-robotecai
jhanca-robotecai deleted the nprokopiuk/fix_sim_interface_crash branch October 26, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants