autowarefoundation / AWSIM-Labs

Open source simulator for self-driving vehicles
https://autowarefoundation.github.io/AWSIM-Labs/
Other
15 stars 13 forks source link

fix: null reference errors #78

Closed mozhoku closed 5 months ago

mozhoku commented 6 months ago

Description

Fixes null reference exception errors when selecting the scene prefab. Caused by TrafficLaneEditor.cs. Added a null check as a fix.

Related links

Tests performed

Tested in editor.

Effects on system behavior

Not applicable.

Notes for reviewers

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.