Skip to content

Commit

Permalink
Merge branch 'release/v5.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwellmann committed Dec 10, 2024
2 parents 16a34f6 + 591e06f commit a7daa47
Show file tree
Hide file tree
Showing 1,817 changed files with 35,741 additions and 71,421 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Changelog - VR Builder

**v4.4.0 (2024/10/31 - Current)**
**v5.0.0 (2024/11/11 - Current)**

*[Changed]*
- VR Builder now supports Unity 6 out of the box. Unity 2022 and previous versions are not officially supported by VR Builder 5.
- Since Unity 6 uses URP by default, we now consider URP as our default render pipeline as well, and updated our content accordingly.
- The default interaction component is now based on XRI 3. This entails a completely new rig (based on the XRI default rig) and some updated interactions.
- The default raycast and interaction layers for teleportation are now named "Teleport" instead of "XR Teleport" and set to layer 31 if possible.
- Teleportation anchors now have two more options: Add Snap Volume and Add Interaction Affordance, respectively auto configuring the anchor so that the teleportation ray snaps to it and so that it provides affordance when hovered.
- Changed and tidied up namespaces. This can result in API breaks on custom content, but it should be a simple case of pointing to the new namespace.
- Merged Text-to-Speech and Basic Interaction assemblies in the Core assembly, in order to simplify the architecture. Custom content that referenced these assemblies now needs to reference the Core assembly.
- Removed obsolete code.

*[Known issues]*
- There is no automated upgrade path from VR Builder 4 processes. It's technically still possible by manually editing the JSONs, but we recommend not upgrading a project in progress.

**v4.4.0 (2024/10/31)**

*[Added]*
- The `Object in Collider` condition now supports multiple object references and lets the user specify a number of objects that needs to be in the collider.
Expand Down
10 changes: 5 additions & 5 deletions Demo/Editor/DemoSceneLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
using UnityEditor.SceneManagement;
using UnityEngine;

namespace VRBuilder.Editor.DemoScene
namespace VRBuilder.Demo.Editor
{
/// <summary>
/// Menu item for loading the demo scene after checking the process file is in the StreamingAssets folder.
/// </summary>
public static class DemoSceneLoader
{
private const string demoSceneAssetsPath = "Assets/MindPort/VR Builder/Core/Demo/Runtime/Scenes/VR Builder Demo - Core Features.unity";
private const string demoScenePackagesPath = "Packages/co.mindport.vrbuilder.core/Demo/Runtime/Scenes/VR Builder Demo - Core Features.unity";
private const string demoSceneAssetsPath = "Assets/MindPort/VR Builder/Core/Demo/Scenes/VR Builder Demo - Core Features.unity";
private const string demoScenePackagesPath = "Packages/co.mindport.vrbuilder.core/Demo/Scenes/VR Builder Demo - Core Features.unity";

private const string demoProcessAssetsPath = "Assets/MindPort/VR Builder/Core/Demo/StreamingAssets/Processes/Demo - Core Features/Demo - Core Features.json";
private const string demoProcessPackagesPath = "Packages/co.mindport.vrbuilder.core/Demo/StreamingAssets/Processes/Demo - Core Features/Demo - Core Features.json";
Expand Down Expand Up @@ -44,13 +44,13 @@ public static void LoadDemoScene()
EditorSceneManager.OpenScene(demoScenePath);

#if VR_BUILDER && VR_BUILDER_XR_INTERACTION
foreach (GameObject configuratorGameObject in GameObject.FindObjectsOfType<GameObject>(true).
foreach (GameObject configuratorGameObject in GameObject.FindObjectsByType<GameObject>(FindObjectsInactive.Include, FindObjectsSortMode.None).
Where(go => go.GetComponent<VRBuilder.Core.Setup.ILayerConfigurator>() != null))
{
VRBuilder.Core.Setup.ILayerConfigurator configurator = configuratorGameObject.GetComponent<VRBuilder.Core.Setup.ILayerConfigurator>();
if (configurator.LayerSet == VRBuilder.Core.Setup.LayerSet.Teleportation)
{
configurator.ConfigureLayers("XR Teleport", "XR Teleport");
configurator.ConfigureLayers("Teleport", "Teleport");
EditorUtility.SetDirty(configuratorGameObject);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "VRBuilder.Editor.DemoScene",
"name": "VRBuilder.Core.Editor.Demo",
"rootNamespace": "",
"references": [
"VRBuilder.Core"
Expand Down
72 changes: 67 additions & 5 deletions Demo/Resources/SnapZones/SnapZoneHighlightMaterial.mat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 67 additions & 5 deletions Demo/Resources/SnapZones/SnapZoneInvalidMaterial.mat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a7daa47

Please sign in to comment.