OPC UA Industrial Metaverse reference implementation leveraging Unity and the Digital Twin Consortium's Manufacturing Ontologies Reference Solution.
- A PC with at least 16 GB of memory and a modern graphics card with at least 6 GB of memory.
- A Virtual Reality headset.
- An Azure subscription. If you don't have one, you can start with a free subscription from here.
- Download this repository to a directory of your choice from here.
- Obtain a license for Unity from here.
- Install the latest Unity Hub version from here.
- Install the latest Unity Editor version from here.
- Install Visual Studio 2022 and the Visual Studio tools for Unity.
- Install any additional Unity SDK you may need for your particular VR headset.
- Install the Azure Industrial IoT Reference Solution from here.
- Run the OPC UA simulation as described here.
- Create an application registration for your ADX instance as described here. Copy the client secret to a safe place.
- In the C# file under the downloaded repository path /Assets/Scripts/SignalR/ADXService.cs, update the variables applicationClientId, adxInstanceURL, adxDatabaseName and tenantId with the data from your Azure Data Explorer instance, as well as from the new app registration you have just completed and from your Active Directory instance available in the Azure Portal.
- Open the Unity project through the Unity Hub. In the Unity Editor select the ADTConnection in the Hierarchy panel. In the Inspector panel, provide the client secret copied previously in the Url field.
- Select Bing Maps Operate in the Hierarchy panel and provide a Bing Maps SDK key in the Developer Key field. A Bing Maps SDK key can be obtained from here.
- Put on your Virtual Reality headset and build and run the scene.