Skip to content

User_Inst_Unity3DOnWindows

Mehmet Emre Çakal edited this page Oct 10, 2024 · 9 revisions

1.1 Configuring Unity

  • Please see platform support and external dependencies before.

  • Change scripting backend to Mono and api compatibility level to .NET Framework (.NET 4.x Equivalent for older versions), since it is required by RosBridgeClient. To do this:

    1. In the Unity menu, go to Edit > Project Settings > Player.
    2. In the Inspector pane, look under Other Settings > Configuration.
    3. Set Scripting Backend to Mono.
    4. Set Api Compatibility Level to .NET Framework.
    Unity Scripting Configuration

    Note: IL2CPP scripting backend support has only been tested to a limited extent on Windows. Support for other platforms is not guaranteed.

  • For Unity versions below 2022.3, a very old version of the Newtonsoft.JSON package comes preinstalled, and it conflicts with ROS# because we already include a newer version of it. So you have to remove it but Unity may not allow. In this case, find it in the Packages folder (it's in the same directory with the Assets folder) in your file explorer and remove it manually.


© Siemens AG, 2017-2024

Clone this wiki locally