3DStreamingToolkit / 3DStreamingToolkit

A toolkit for building powerful stereoscopic 3D experiences that run on the cloud and stream to devices.
MIT License
362 stars 98 forks source link

Unity sample as standalone executable #316

Open sunagali opened 5 years ago

sunagali commented 5 years ago

Report

Is it possible to build to an executable for a Windows desktop from the sample Unity projects?

Environment

Issues and Steps to Reproduce

Build Unity sample project for PC. Error log from Unity console:

Plugin 'Org.WebRtc.winmd' is used from several locations: Assets/Plugins/WSA/x86/Org.WebRtc.winmd would be copied to /Org.WebRtc.winmd Assets/Plugins/WSA/x64/Org.WebRtc.winmd would be copied to /Org.WebRtc.winmd Please fix plugin settings and try again.

UnityEditor.Modules.DefaultPluginImporterExtension:CheckFileCollisions(String) UnityEditorInternal.PluginsHelper:CheckFileCollisions(BuildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Expected Behavior

Build should go through and generate an executable file that I can run on my PC.

tylergibson commented 5 years ago

If you are building a Win32 build, you shouldn't have the WSA components in your unity instance at all. Those are used for UWP builds only. You should be able to use the win32/win64 components for unity desktop client builds.