GithubHelp home page GithubHelp logo

test-mass-forker-org-1 / mixed-reality-extension-unity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/mixed-reality-extension-unity

0.0 0.0 0.0 75.13 MB

The Mixed Reality Extension Unity library is an easy way for developers to add User Generated Content (UGC) capabilities to their Unity3D-based host apps

License: MIT License

C# 99.93% PowerShell 0.07%

mixed-reality-extension-unity's Introduction

Mixed Reality Extension SDK Unity

The Mixed Reality Extension SDK Unity library makes it easy for any Unity3D app or game to support user generated content (UGC) built with the Mixed Reality Extension SDK. It also makes it easy to test an MRE within a simple environment inside the Unity3D editor.

Prerequisites

  • Install Git
  • Use Unity Hub to Install Unity 2018.1.9f2 (or later) - Set environment variable UNITY_ROOT to the installation path.
  • Install Visual Studio 2017, including Visual Studio Tools for Unity and .NET development tools

How to build and run Hello World in the Unity3D editor

From command prompt:

  • git clone http://github.com/microsoft/mixed-reality-extension-unity
  • Run buildMREUnityRuntimeDLL.bat
  • Open Unity3D, project folder mixed-reality-extension-unity/MRETestBed
  • open the scene Assets/Scenes/HelloWorld.unity
  • click play You should now see a slowly spinning Hello World label and a clickable cube.

Scene Descriptions

The MRETestbed project contains 4 Unity3d scenes set up for different testing purposes

  • HelloWorld.Unity: Connects to a single MRE in the cloud on startup, no interaction needed
  • FunctionalTest-localhost.Unity. Requires a locally deployed functional test MRE from the SDK Repository. Generates a launch pad for each of the functional tests - just walk close to trigger them. Or touch the "run all" trigger to load every single functional test. There is also a pad for changing the global root - it moves, scales, and rotates everything in the world, which simplifies checking the 3d math.
  • TriggerVolumeTestBed-localhost.Unity: Connects to a localhost MRE when you walk close - useful for testing user join/leave.
  • SynchronizationTest-localhost.Unity: Connects twice to twice to a localhost MREs with the same session ID. When you click on the two spheres you will see 2 different connections to the same server, so you can perform basic multiuser testing without multiple machines or multiple unity instances.

The Localhost samples requires a local node server running, see the Sample repository for localhost deployment.

To Debug the Unity Runtime DLL

  • From within the Unity3D editor click Assets->Open C# Project. This opens Visual Studio and generates a solution file and project files
  • In the Solution Explorer, right click on Solution 'MRETestBed' (3 projects), click Add->Existing Project..., and select MREUnityRuntime\MREUnityRuntimeLib\MREUnityRuntimeLib.csproj
  • Press play in the editor
  • Select Debug->Attach Unity Debugger (requires the Visual Studio Unity Tools installed to show up), and choose Project MRETestBed, type Editor

Putting breakpoints inside the MREUnityRuntimeLib DLL is not always working, but pressing stop in Unity Editor, rebuilding the MREUnityRuntimeLib project in Visual Studio, and pressing play in the Unity Editor tends to fix it.

Integration guide

If you want to integrate the MRE SDK into your own Unity3D project, please see INTEGRATING.md

Overview

  • For more information, please see the Mixed Reality Extension SDK repository's README.md is the best source of information about features, current state, limitations, goal, major known issues, and roadmap.
  • We welcome contributions. Please see CONTRIBUTING.md if you are interested in helping out.

Getting In Touch

To report issues and feature requests: Github issues page.

To chat with the team and other users: join the MRE SDK discord community.

Or attend the biweekly AltspaceVR developer meetups.


Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

License

Code licensed under the MIT License.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

mixed-reality-extension-unity's People

Contributors

stevenvergenz avatar eanders-ms avatar tombums avatar sorenhan avatar jabenk avatar nik0la31 avatar microsoftopensource avatar sorenhannibal avatar in2dair avatar msftgits avatar olga-microsoft avatar anthonyneacevr avatar radworx avatar influnza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.