Releases: Azure/azure-remote-rendering
Release 1.2.20
Important Service Updates
- SDK updated to version 1.2.20
Bug Fixes
- Pending promises and
asyncC# API calls are now properly failed on graceful or ungraceful disconnect. - Showcase: Fixed potential exception in script
ClippingGizmoHighlight.cswhen enabling the cutplane tool.
Sample Updates
- Samples now enable ForceTransparencyWritesDepth by default on VR devices.
Release 1.2.17
Important Service Updates
- SDK updated to version 1.2.17
Features
- Added
TransparencyWritesDepthoverride flag to Hierarchical State Override Component API. This allows controlling depth writing for transparent materials on a scene-tree level and also adds support for depth writing for nodes rendered with See-through. - Added
ConversionIDto the model metadata in arrAsset files.
API Changes
- Added
Mesh.GetResourceStateAsync_Experimental, for querying whether connection to data source isActiveor gotInterrupted. This is meant to be used with remote streamed Point Clouds to check the connection status.
Release 1.2.16
Important Service Updates
- SDK updated to version 1.2.16
- Server-side spatial queries (
SpatialQueryAabbAsync,SpatialQuerySphereAsync,SpatialQueryObbAsyncAPIs) are now substantially faster for models with many parts.
Point Clouds data streaming support
This service-side release introduced a new capability for converting and rendering point cloud files. It is recommended to re-convert all point cloud assets, however previous point cloud asset files will continue to work. Since this feature is integrated fully on the server side (both for conversion and rendering) an upgrade to latest client SDK is not required.
- Point clouds rendering now streams data directly from Azure storage (this applies for point clouds bigger than 2GB, for assets converted from today on).
- Point clouds conversion now supports up to 12.5 Billion points for a single asset. Note that multiple assets like this can be instantiated on the scene, together building scenes that surpass the 12.5 Billion unique points mark (on premium).
Bug Fixes
- Fixed spurious and random point clouds crash.
- Fixed point clouds physics crash when model is scaled down to zero.
- Fixed entity positioning problem after multiple reparenting operations (github issue #112).
Sample Updates
- Tutorial: Fixed typo in a function name
BaseARRAuthentication.GetARRCredentials(). - Showcase:
- Fix sharing stage placement not colliding with VR environment.
- Fix VR environment floor level offset.
Release 1.2.12
Important Service Updates
- SDK updated to version 1.2.12
API Changes
A couple of new APIs have been added that help improving CPU performance and reduce the number of dynamic allocations per frame. Check them out below.
- Added the following new C# APIs that retrieve array/list results into a preallocated and reusable
List<T>to reduce runtime allocations:public void ObjectMetadata.GetMetadata(List<ObjectMetadataEntry> resultList)public void RayCastQueryResult.GetHits(List<RayCastHit> resultList)public void SpatialQueryResult.GetOverlaps(List<MeshComponent> resultList)public void LoadModelResult.GetLoadedObjectsOfType(ObjectType type, List<ObjectBase> resultList)public void LoadModelResult.GetLoadedResourceOfType(ObjectType type, List<ResourceBase> resultList)public void MeshComponent.GetMaterials(List<Material> resultList)public void MeshComponent.GetUsedMaterials(List<Material> resultList)public void Mesh.GetMaterials(List<Material> resultList)public void Entity.GetChildren(List<Entity> resultList)public void Entity.GetComponents(List<ComponentBase> resultList)public void RenderingConnection.GetRootEntities(List<Entity> resultList)
- Added the following APIs related to entity transform:
public Transform Entity.LocalTransformas an optimization to get/set all transform portions at once.public Transform Entity.GlobalTransformto compute an entity's global transform.public Matrix4x4 Entity.LocalToGlobalMatrix, a convenient helper function to retrieve the entity's global transform as a 4x4 matrix.
- Further C# changes:
- Changed properties returning array or list to not use Linq.
Entity.VisitEntity(VisitEntityDelegate visitor)has been refactored to make use of the new APIs.Entity.FindFirstEntity(EntitySearchDelegate pred)has been refactored to internally useEntity.VisitEntity(VisitEntityDelegate visitor).Entity.FindComponentOfType<T>()has been refactored to use the nativeEntity.FindComponentOfType(ObjectType type)API, instead of iterating over all components on the C# side.
Migration guide
A new struct Transform has been introduced to serve the new entity transform related API functions. Inside Unity code, this may now collide with UnityEngine.Transform. To resolve this, just change existing occurrences to explicit UnityEngine.Transform.
Sample Updates
- Showcase:
- Changed
RemoteFocusProviderNoColliderto make use of the new APIs and make less GC allocation per pointer ray cast. - Various smaller improvements using the new APIs.
- Swapped "AccountDomain" and "AccountId" in the Inspector UI in Showcase and Tutorial-Complete, so it's consistent with other sample projects and files.
- Changed
- Tutorial-Complete:
- Swapped "AccountDomain" and "AccountId" in the Inspector UI in Showcase and Tutorial-Complete, so it's consistent with other sample projects and files.
Release 1.2.10
Important Service Updates
- SDK updated to version 1.2.10.
- Modified point cloud loading behavior.
Bug Fixes
- Unity: Fixed potential exception when releasing camera command buffers during shutting down Azure Remote Rendering.
- Unity: Fixed
ARRServiceUnity.OpenSessionnot completing the returned task when the native API call fails. - Fixed error in DownloadUnityPackages.ps1, that prevented retrying a download.
Sample Updates
- Quickstart:
- Add missing license header to source files.
- Fix hidden initial error message when creating or opening session fails.
- Various smaller clean ups and refactor of the
RemoteRenderingclass property and fields.
Release 1.2.8
Important Service Updates
- SDK updated to version 1.2.8
Features
- New runtime API function:
Entity.Rootto retrieve the topmost root entity in it's hierarchy. - New runtime API function:
RenderingConnection.RootEntitiesto retrieve a list of all root entities in the current session.
Bug Fixes
- Fixed spurious server issue when loading the same point cloud asset multiple times.
- Improved accuracy of spatial overlap queries (
SpatialQueryAabbAsync,SpatialQuerySphereAsync,SpatialQueryObbAsync) for rotated models. - Unity: Fixed potential scheduling issue and unhandled exception in
ARRServiceUnity. - Unity: Fixed HoloLens builds using Unity 2019.
- Fixed bug in conversion service, where
@nextLinkwas always null, even if more items were available.
Release 1.2.6
Important Service Updates
- SDK updated to version 1.2.6
Features
- RenderingSession.ConnectToArrInspectorAsync API is implemented for Meta Quest devices.
Bug Fixes
- Fixed passthrough being overwritten on Meta Quest devices under certain conditions.
Release 1.2.4
Important Service Updates
- SDK updated to version 1.2.4
- Fixed a server crash when many point clouds were loaded and then disabled.
- Conversion service will now return a human readable error instead of "InternalServerError" if two files or folders with the same name but different casing are downloaded.
- Conversion service
*.result.jsonfile now supports Unicode file names.
Sample Updates
- Showcase: Improved visuals for main menu header text and model preview images.
Release 1.2.3
Important Service Updates
- SDK updated to version 1.2.3
Bug Fixes
- Unity: Fixed Enabled and Active states not being syncronized when binding to GameObject or creating GameObject from Entity.
- Unity: Fixed occasional import issue with the URP rendering pass.
Release 1.2.2
Important Service Updates
- SDK updated to version 1.2.2
- Conversion service: Fixed: Every conversion emitted warning "Warning 4018: A lot more data was downloaded than was used by the conversion. [...]"
Bug Fixes
- Unity package: Fixed failing builds in Unity 2022 and above, due to changed import behavior for
.libfiles. (#104)
Sample Updates
- Showcase: Fixed Desktop UI being scaled in Editor.