-
-
Notifications
You must be signed in to change notification settings - Fork 34
Feature/diagnostics system port #156
Feature/diagnostics system port #156
Conversation
Hiding the field from the inspector makes it impossible to set the canvas in editor, which is generally ok, but the Awake method is checking whether canvas is null before getting it. Since it cannot be set in inspector this if will also be true.
Mainly adjusting namespaces and class names that have changed. Added the visual profile component which replaces the DiagnosticsHandler that used to live in XRTK/SDK.
XRTK/SDK PR 28 is part of this: XRTK/com.xrtk.sdk#28 |
Can we review and update the outstanding tasks prior to merging? Platforms must be tested prior to merge
Great work on this PR btw :D |
You also need to refresh your submodules as they are showing out of date and could cause issue. |
Thanks1 I can test iOS later today and check the submodules. |
Just a note, make sure the Submodule checkouts are always the latest development checkout sha. |
/azp run |
Pull request contains merge conflicts. |
# Conflicts: # Submodules/SDK # Submodules/WindowsMixedReality # XRTK-Core/Packages/com.xrtk.core/Inspectors/Profiles/MixedRealityDiagnosticsSystemProfileInspector.cs
...-Core/Packages/com.xrtk.core/Definitions/DiagnosticsSystem/MixedRealityDiagnosticsProfile.cs
Outdated
Show resolved
Hide resolved
...-Core/Packages/com.xrtk.core/Definitions/DiagnosticsSystem/MixedRealityDiagnosticsProfile.cs
Show resolved
Hide resolved
XRTK-Core/Packages/com.xrtk.core/Services/DiagnosticsSystem/MixedRealityDiagnosticsSystem.cs
Outdated
Show resolved
Hide resolved
XRTK-Core/Packages/com.xrtk.core/Services/DiagnosticsSystem/MixedRealityDiagnosticsSystem.cs
Outdated
Show resolved
Hide resolved
XRTK-Core/Packages/com.xrtk.core/Services/DiagnosticsSystem/MixedRealityDiagnosticsSystem.cs
Outdated
Show resolved
Hide resolved
XRTK-Core/Packages/com.xrtk.core/Services/MixedRealityToolkit.cs
Outdated
Show resolved
Hide resolved
...ore/Packages/com.xrtk.core/Services/DiagnosticsSystem/XRTK.Services.DiagnosticsSystem.asmdef
Outdated
Show resolved
Hide resolved
Tested on iOS. Behaves the same as on Android. |
I'll test it on Lumin soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got a PR incoming with some suggested changes.
Getting this warning when building to device and running in the editor:
|
cleaned up the system and visualizer classes a bit
…xedRealityDiagnosticsSystem.cs
…requests Feature/diagnostics change requests
@StephenHodgson thank you. I'll look into the shader warning. Pretty sure I know what's up. |
@StephenHodgson Added missing shader to XRTK.Core/StandardAssets/Shaders. The warning is gone now. |
@FejZa just need to resolve the conflicts and we should be good to go. |
* Remove [HideInInspector] attribute for CanvasUtility canvas field Hiding the field from the inspector makes it impossible to set the canvas in editor, which is generally ok, but the Awake method is checking whether canvas is null before getting it. Since it cannot be set in inspector this if will also be true. * Commit submodules * Port latst DiagnosticsSystem updates from MRTK Mainly adjusting namespaces and class names that have changed. Added the visual profile component which replaces the DiagnosticsHandler that used to live in XRTK/SDK. * Fix DiagnosticsService constructor params * Fix asset menu path to create diagnostics profile * Resolve PR review comments * removed a bunch of stuff that wasn't used anymore. cleaned up the system and visualizer classes a bit * removed stray meta * Update XRTK-Core/Packages/com.xrtk.core/Services/DiagnosticsSystem/MixedRealityDiagnosticsSystem.cs * Add missing shader for visual profiler
XRTK - Mixed Reality Toolkit Change Request
Overview
Ported the latest implementation of the MRTK DiagnosticsSystem over and made necessary Adjustments. There is some open TODOs:
OnDiagnosticsChanged()
inMixedRealityDiagnosticsSystem.cs
is never executed and the event does not fire respectively. Implementing this will allow to do runtime changes to settings of the diagnostics system, since the Visual Profiler implementsIMixedRealityDiagnosticsSystemHandler
.Support for all XRTK platforms Needs to be verified. E.g. while it works on Android mobile AR it actually Displays in 3D space. Probably for mobile s screen space overlay solution would be more appropriate. Also I could not verify Lumin support.
Target of the change:
Changes: