Unity-Technologies / ROS-TCP-Connector

Apache License 2.0
296 stars 93 forks source link

Fixing compass asset load in standalone builds #286

Open Chootin opened 2 years ago

Chootin commented 2 years ago

I confirmed the previous version of the code would not work in Unity version 2021.2.18f1 - the default would end up being used instead.

Proposed change(s)

Loading the resources asset with the name rather than the name and file extension.

Types of change(s)

Testing and Verification

Created a script which would move an asset when it receives a pose message from ROS. I performed the test in the editor and noted a different result from the build. After connecting a debugger it was apparent the asset wasn't being loaded.

Test Configuration:

Checklist

Other comments

unity-cla-assistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.