I have a problem, When I have built the solution, a runtime error appears in one eye on a corner. Is imposible to read, but I got a log file that sais what its on the console (I can read only the corner and I think is the same) and we are tested in debug, release, master... and the error persist. In editor mode on Unity, the error dont appear. The experience is the same but I cant have this.
I dont find anything on their documentation, and this happens in 2019 (where im working right now) and 2018.
Im using MRTK 2.0 RC1 Refresh.
Im working with Lenovo Explorer with Motion Controllers.
Loading native plugins
Loading AudioPluginMsHRTF.dll
Module information:
Built with Compiler Ver '191627012'
Built from '2019.1/staging' branch
Version is '2019.1.0f2 (292b93d75a2c)'
Release build
Application type 'D3D'
OS 'Windows 10 (10.0.17763) 64bit'
PlayerConnection initialized from E:/UNITY_2019_PROJECTS/BUILD VISUAL STUDIO/build/bin/x64/Release/AppX/Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55050
Multi-casting "[IP] 172.30.13.181 [Port] 55050 [Flags] 2 [Guid] 737340049 [EditorId] 0 [Version] 1048832 [Id] UWPPlayerX64(MyPC) [Debug] 0 [PackageName] MyProject_vvjrt7vn67k36" to [225.0.0.222:54997]...
Started listening to [0.0.0.0:55050]
PlayerConnection already initialized - listening to [0.0.0.0:55050]
Plugins: Failed to load 'WindowsMRXRSDK' because one or more of its dependencies could not be loaded.
(Filename: C:\buildslave\unity\build\Runtime/Misc/Plugins.cpp Line: 223)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 1050 Ti (ID=0x1c82)
Vendor:
VRAM: 4018 MB
Initialize engine version: 2019.1.0f2 (292b93d75a2c)
Failed to find spatial stage root, falling back to stationary tracking space type!
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 591)
Created eye textures with a "texture array" layout. The "single-pass instancing" stereo mode will be used.
Windows Mixed Reality spatial locatability state changed to Activating.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 374)
The referenced script (Unknown) on this Behaviour is missing!
(Filename: C:\buildslave\unity\build\Runtime/Scripting/ManagedReference/SerializableManagedRef.cpp Line: 197)
The referenced script on this Behaviour (Game Object '<null>') is missing!
(Filename: C:\buildslave\unity\build\Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 333)
A scripted object (probably Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSimulationProfile?) has a different serialization layout when loading. (Read 76 bytes but expected 288 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: C:\buildslave\unity\build\Runtime/Serialize/SerializedFile.cpp Line: 2012)
UnloadTime: 41,373700 ms
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 374)
Setting up 3 worker threads for Enlighten.
Thread -> id: 36ac -> priority: 1
Thread -> id: 4944 -> priority: 1
Thread -> id: 5280 -> priority: 1
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 374)
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 374)
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 374)
Trimming D3D resources.```
Related
Unity is crashing when entering the play mode.
This does not happen if my Quest 2 is connected to Unity
I use the Open / Oculuus XR Plugins
I use the Sample Controller example with some custom code
Attached to this, you may find the Input
Does any of you have similar issues? How to best debug this error? It could have something to do with finding the device when none is connected, but I could not find anything.
[..]
[00:00:05] Finished 1 Bake Runtime job (0.24s execute, 0.00s integrate, 0.25s wallclock)
[Optix] Number of Devices = 1
[Optix] context local device 0: NVIDIA GeForce RTX 3060 Laptop GPU - 6143MB VRAM (available: 4638MB)
[Optix] successfully set up context.
[Optix] removing context.
[00:00:08] Bake took 3.195458 seconds.
[PathTracer] Loaded OpenRL shaders in 3.234 secs -> Timestamps: [76.772 - 80.006].
[PathTracer] Total bake time: 0.021025, raw bake time: 0.000000
[00:00:12] Builtin Sky manager started.
[00:00:12] Finished 1 Bake Ambient Probe job (0.01s execute, 0.00s integrate, 0.25s wallclock)
[00:00:13] LightingDataAsset started.
> Collecting Enlighten data
Asset Pipeline Refresh: Total: 0.065 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
[OVRPlugin][INFO] UnityPluginLoad calledTrimDiskCacheJob: Current cache size 10mb
Asset Pipeline Refresh: Total: 0.016 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
C:\build\output\Unity-Technologies\mono\mono\eglib\gpath.c:115: assertion 'filename != NULL' failed
Asset Pipeline Refresh: Total: 0.013 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Asset Pipeline Refresh: Total: 0.064 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Asset Pipeline Refresh: Total: 0.062 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Asset Pipeline Refresh: Total: 0.016 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Reloading assemblies for play mode.
Registering precompiled user dll's ...
Registered in 0.044125 seconds.
Reloading assemblies after forced synchronous recompile.
Begin MonoManager ReloadAssembly
Symbol file LoadedFromMemory doesn't match image C:\SaltyVR\Library\PackageCache\com.unity.visualscripting#1.7.8\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
Symbol file LoadedFromMemory doesn't match image C:\SaltyVR\Library\PackageCache\com.unity.visualscripting#1.7.8\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
Native extension for WindowsStandalone target not found
Native extension for Android target not found
Refreshing native plugins compatible for Editor in 427.77 ms, found 19 plugins.
Preloading 1 native plugins for Editor in 0.41 ms.
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
[MODES] Loading mode Default (0) for mode-current-id-Salty VR
Mono: successfully reloaded assembly
- Completed reload, in 6.759 seconds
Domain Reload Profiling:
ReloadAssembly (6761ms)
BeginReloadAssembly (3400ms)
ExecutionOrderSort (2ms)
DisableScriptedObjects (129ms)
BackupInstance (0ms)
ReleaseScriptingObjects (2ms)
CreateAndSetChildDomain (537ms)
EndReloadAssembly (3277ms)
LoadAssemblies (3048ms)
RebuildTransferFunctionScriptingTraits (1ms)
SetupTypeCache (304ms)
ReleaseScriptCaches (7ms)
RebuildScriptCaches (108ms)
SetupLoadedEditorAssemblies (1516ms)
LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (14ms)
SetLoadedEditorAssemblies (0ms)
RefreshPlugins (428ms)
BeforeProcessingInitializeOnLoad (185ms)
ProcessInitializeOnLoadAttributes (768ms)
ProcessInitializeOnLoadMethodAttributes (115ms)
AfterProcessingInitializeOnLoad (4ms)
EditorAssembliesLoaded (1ms)
ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (574ms)
Platform modules already initialized, skipping
Registering precompiled user dll's ...
Registered in 0.008288 seconds.
Asset Pipeline Refresh: Total: 8.204 seconds - Initiated by StopAssetImportingV2(ForceSynchronousImport | ForceDomainReload)
Summary:
Imports: total=0 (actual=0, local cache=0, cache server=0)
Asset DB Process Time: managed=0 ms, native=1188 ms
Asset DB Callback time: managed=26 ms, native=0 ms
Scripting: domain reloads=1, domain reload time=6984 ms, compile time=4 ms, other=0 ms
Project Asset Count: scripts=10869, non-scripts=5325
Asset File Changes: new=0, changed=0, moved=0, deleted=0
Scan Filter Count: 0
InvokeBeforeRefreshCallbacks: 0.290ms
ApplyChangesToAssetFolders: 0.071ms
Scan: 0.000ms
OnSourceAssetsModified: 0.000ms
InitializeImportedAssetsSnapshot: 97.279ms
GetAllGuidsForCategorization: 64.443ms
CategorizeAssets: 863.487ms
ImportOutOfDateAssets: 7011.450ms (7001.179ms without children)
CompileScripts: 3.970ms
EnsureUptoDateAssetsAreRegisteredWithGuidPM: 3.344ms
InitializingProgressBar: 0.002ms
PostProcessAllAssetNotificationsAddChangedAssets: 1.696ms
OnDemandSchedulerStart: 1.260ms
ReloadSourceAssets: 10.377ms
UnloadImportedAssets: 3.795ms
PostProcessAllAssets: 26.456ms
GatherAllCurrentPrimaryArtifactRevisions: 0.625ms
UnloadStreamsBegin: 0.097ms
LoadedImportedAssetsSnapshotReleaseGCHandles: 3.789ms
GetLoadedSourceAssetsSnapshot: 15.991ms
PersistCurrentRevisions: 0.607ms
UnloadStreamsEnd: 0.100ms
GenerateScriptTypeHashes: 24.137ms
Untracked: 131.541ms
The referenced script (Unknown) on this Behaviour is missing!
The referenced script on this Behaviour (Game Object '--- WeaponScripts') is missing!
[Subsystems] OculusXRPlugin successfully registered Provider for oculus input
[Subsystems] OculusXRPlugin successfully registered Provider for oculus display
[Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
[Subsystems] OculusXRPlugin successfully registered Provider for oculus input
[Subsystems] OculusXRPlugin successfully registered Provider for oculus display
[Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Input
[Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
[OculusXRFeature] HookGetInstanceProcAddr: 140733545404274
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Oculus.XR.OculusXRFeature:HookGetInstanceProcAddr (intptr) (at Assets/Oculus/VR/Scripts/OculusXRFeature.cs:118)
UnityEngine.XR.OpenXR.Features.OpenXRFeature:HookGetInstanceProcAddr () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/Features/OpenXRFeature.cs:676)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:InitializeInternal () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:225)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:Initialize () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:183)
UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRManagerSettings.cs:190)
UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRGeneralSettings.cs:175)
UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRGeneralSettings.cs:148)
(Filename: Assets/Oculus/VR/Scripts/OculusXRFeature.cs Line: 118)
[OculusXRFeature] SetClientVersion
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Oculus.XR.OculusXRFeature:HookGetInstanceProcAddr (intptr) (at Assets/Oculus/VR/Scripts/OculusXRFeature.cs:120)
UnityEngine.XR.OpenXR.Features.OpenXRFeature:HookGetInstanceProcAddr () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/Features/OpenXRFeature.cs:676)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:InitializeInternal () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:225)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:Initialize () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:183)
UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRManagerSettings.cs:190)
UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRGeneralSettings.cs:175)
UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRGeneralSettings.cs:148)
(Filename: Assets/Oculus/VR/Scripts/OculusXRFeature.cs Line: 120)
[OVRPlugin][INFO] UnityOpenXR_SetClientVersion(1, 79, 0) called[OVRPlugin][INFO] ovrp_UnityOpenXR_HookGetInstanceProcAddr(00007FFF14FB5772)[OVRPlugin][INFO] CompositorOpenXR::PreInitialize(activity = 0000000000000000, apiType = 0, preinitializeFlags=0x1)[OVRPlugin][INFO] -- Set xrGetInstanceProcAddr to external function pointer[OVRPlugin][INFO] Available Layers: (0)[OVRPlugin][INFO] Preinitialize: xrCreateInstance() succeeded[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_FORM_FACTOR_UNAVAILABLE]: xrGetSystem(instance, &systemGetInfo, &systemId), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:1332 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:230)[OVRPlugin][INFO] xrGetSystem() failed, which might be caused by a temporarly HMD connectivity issue. xrInstance to be destroyed[OVRPlugin][ERROR] CompositorOpenXR::PreInitialize() returns failure (arvr\projects\integrations\ovrplugin\src\ovr_plugin_unityopenxr.cpp:59)[OVRPlugin][INFO] ProfilerSystem: verbose mode 0[OVRPlugin][INFO] OVRPlugin 1.79.0 ... preinitialized[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrCreateInstance[Subsystems] Loading plugin UnityOpenXR for subsystem OpenXR Display...
[XR] [26944] [10:56:36.841][Info ] Available Layers: (0)
[OVRPlugin][INFO] Func_xrCreateInstance(0000026499CCCB28)[OVRPlugin][INFO] Unity Requested Extensions (18):[OVRPlugin][INFO] Name=XR_EXT_hand_tracking[OVRPlugin][INFO] Name=XR_FB_color_space[OVRPlugin][INFO] Name=XR_FB_display_refresh_rate[OVRPlugin][INFO] Name=XR_FB_hand_tracking_aim[OVRPlugin][INFO] Name=XR_FB_hand_tracking_capsules[OVRPlugin][INFO] Name=XR_FB_hand_tracking_mesh[OVRPlugin][INFO] Name=XR_FB_touch_controller_pro[OVRPlugin][INFO] Name=XR_KHR_D3D11_enable[OVRPlugin][INFO] Name=XR_KHR_composition_layer_color_scale_bias[OVRPlugin][INFO] Name=XR_KHR_composition_layer_cube[OVRPlugin][INFO] Name=XR_KHR_composition_layer_cylinder[OVRPlugin][INFO] Name=XR_KHR_composition_layer_depth[OVRPlugin][INFO] Name=XR_KHR_convert_timespec_time[OVRPlugin][INFO] Name=XR_KHR_visibility_mask[OVRPlugin][INFO] Name=XR_KHR_vulkan_enable[OVRPlugin][INFO] Name=XR_KHR_win32_convert_performance_counter_time[OVRPlugin][INFO] Name=XR_META_performance_metrics[OVRPlugin][INFO] Name=XR_OCULUS_audio_device_guid[OVRPlugin][INFO] Unavailable OpenXR extension: XR_KHR_D3D12_enable[OVRPlugin][INFO] Unavailable OpenXR extension: XR_EXT_performance_settings[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_swapchain_update_state[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_swapchain_update_state_vulkan[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_foveation[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_foveation_configuration[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_foveation_vulkan[OVRPlugin][INFO] Unavailable OpenXR extension: XR_META_vulkan_swapchain_create_info[OVRPlugin][INFO] Unavailable OpenXR extension: XR_META_foveation_eye_tracked[OVRPlugin][INFO] Unavailable OpenXR extension: XR_KHR_composition_layer_equirect2[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_passthrough[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_triangle_mesh[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_passthrough_keyboard_hands[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_render_model[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_keyboard_tracking[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_scene[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity_container[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity_query[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity_storage[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity_storage_batch[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity_sharing[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_spatial_entity_user[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_face_tracking[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_eye_tracking_social[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_body_tracking[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_touch_controller_proximity[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_haptic_amplitude_envelope[OVRPlugin][INFO] Unavailable OpenXR extension: XR_FB_haptic_pcm[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrPollEvent[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrWaitFrame[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrBeginFrame[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrEndFrame[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrSuggestInteractionProfileBindings[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrAttachSessionActionSets[OVRPlugin][INFO] Func_xrGetInstanceProcAddr: override xrSyncActions[OculusXRFeature] OnInstanceCreate: 17454747090945
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Oculus.XR.OculusXRFeature:OnInstanceCreate (ulong) (at Assets/Oculus/VR/Scripts/OculusXRFeature.cs:130)
UnityEngine.XR.OpenXR.Features.OpenXRFeature:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong) (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/Features/OpenXRFeature.cs:610)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:ReceiveNativeEvent (UnityEngine.XR.OpenXR.Features.OpenXRFeature/NativeEvent,ulong) (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:616)
UnityEngine.IntegratedSubsystemDescriptor`1<UnityEngine.XR.XRDisplaySubsystem>:Create ()
UnityEngine.IntegratedSubsystemDescriptor`1<UnityEngine.XR.XRDisplaySubsystem>:CreateImpl ()
UnityEngine.IntegratedSubsystemDescriptor:UnityEngine.ISubsystemDescriptor.Create ()
UnityEngine.XR.Management.XRLoaderHelper:CreateSubsystem<UnityEngine.XR.XRDisplaySubsystemDescriptor, UnityEngine.XR.XRDisplaySubsystem> (System.Collections.Generic.List`1<UnityEngine.XR.XRDisplaySubsystemDescriptor>,string) (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRLoaderHelper.cs:118)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:CreateSubsystem<UnityEngine.XR.XRDisplaySubsystemDescriptor, UnityEngine.XR.XRDisplaySubsystem> (System.Collections.Generic.List`1<UnityEngine.XR.XRDisplaySubsystemDescriptor>,string) (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:476)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:CreateSubsystems () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:264)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:InitializeInternal () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:237)
UnityEngine.XR.OpenXR.OpenXRLoaderBase:Initialize () (at Library/PackageCache/com.unity.xr.openxr#1.4.2/Runtime/OpenXRLoader.cs:183)
UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRManagerSettings.cs:190)
UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRGeneralSettings.cs:175)
UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management#4.2.1/Runtime/XRGeneralSettings.cs:148)
(Filename: Assets/Oculus/VR/Scripts/OculusXRFeature.cs Line: 130)
[OVRPlugin][INFO] ovrp_UnityOpenXR_OnInstanceCreate(17454747090945)[OVRPlugin][INFO] Use D3D11 Renderer[OVRPlugin][INFO] OpenXR SDK version 1.0.22[OVRPlugin][INFO] Warning: unable to bind OpenXR entry xrGetD3D12GraphicsRequirementsKHR[OVRPlugin][INFO] OpenXR runtime name: Oculus, version 1.81.0[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_FORM_FACTOR_UNAVAILABLE]: xrGetSystem(instance, &systemGetInfo, &systemId), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:2199 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:230)[OVRPlugin][INFO] xrGetSystem() failed, which might be caused by a temporarly HMD connectivity issue. xrInstance to be destroyed[OVRPlugin][ERROR] Plugin failed to initialize. (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:1049)[OVRPlugin][ERROR] Unable to create compositor: -1006 (arvr\projects\integrations\ovrplugin\src\ovr_plugin_unityopenxr.cpp:160)
=================================================================
Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at UnityEngine.SubsystemDescriptorBindings:Create <0x000e0>
at UnityEngine.IntegratedSubsystemDescriptor`1:Create <0x000a2>
at UnityEngine.IntegratedSubsystemDescriptor`1:CreateImpl <0x0008a>
at UnityEngine.IntegratedSubsystemDescriptor:UnityEngine.ISubsystemDescriptor.Create <0x0006c>
at UnityEngine.XR.Management.XRLoaderHelper:CreateSubsystem <0x00509>
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:CreateSubsystem <0x000ca>
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:CreateSubsystems <0x0013a>
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:InitializeInternal <0x00992>
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:Initialize <0x004ba>
at UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync <0x003f2>
at UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK <0x0037a>
at UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad <0x0019a>
at System.Object:runtime_invoke_void <0x00184>
=================================================================
Received signal SIGSEGV
Obtained 2 stack frames
RtlLookupFunctionEntry returned NULL function. Aborting stack walk.
<Missing stacktrace information>
I appreciate your help :)
Cheers Fabian
I have found a workaround to test in the editor without connecting the glasses. Disable "initialize XR On startup" in the XR Plug-in Management when only testing in the editor.
1.Back-up your project.
2. Cut the Library folder and paste it on folders outside your project (desktop/anywhere)
3. Open the project. Unity will resolve the packages and open the project.
I'm hitting a strange issue that I can't explain. I'm developing a VR app in Unity and I've recently added the OVRLipSync for mouth movements. It works fine on every other machine except for OSX devices (I only have one, so it might be specific to this device rather than the OS). Another thing is that it works in a whole new project but not in the project I'm currenly working on - If I create a whole new project, import the LipSync package and run the sample it all works fine.
In the project I'm working on however it crashes out both in the sample scene and my own implementation. I have imported the OVRLipSync package and run the sample and as soon as it runs, the editor crashes. I have obviously ensured the OVRLipSync.bundle has permission to run within System Preferences.
The log file states:
OvrLipSync Awake: Queried SampleRate: 44100 BufferSize: 512
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogWarning (object)
OVRLipSync:Initialize () (at Assets/Oculus/LipSync/Scripts/OVRLipSync.cs:265)
OVRLipSync:Awake () (at Assets/Oculus/LipSync/Scripts/OVRLipSync.cs:217)
(Filename: Assets/Oculus/LipSync/Scripts/OVRLipSync.cs Line: 265)
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle
E1115 10:21:07.861620 399812096 init_intrinsics_check.cc:44] CPU feature avx2 is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
E1115 10:21:07.862260 399812096 init_intrinsics_check.cc:44] CPU feature fma is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
Loaded scene 'Temp/__Backupscenes/0.backup'
Deserialize: 64.066 ms
Integration: 493.917 ms
Integration of assets: 0.970 ms
Thread Wait Time: -0.236 ms
Total Operation Time: 558.717 ms
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.16f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/Oculus/LipSync/Plugins/MacOSX/OVRLipSync.bundle
*** Aborted at 1668507668 (unix time) try "date -d #1668507668" if you are using GNU date ***
PC: # 0x193b3b4f3 (unknown)
*** SIGSEGV (#0x0) received by PID 2995 (TID 0x117d4a600) stack trace: ***
# 0x7ff8074c2dfd _sigtramp
In a wireless project, I'm using en Nucleo STM32WLJC1 in dual core configuration.
I take DualCore Ping Pong ST code example, that I rework to make my own application.
I didn't touch anything of the CMO+ project, I only work on the applicative layer in CM4.
I've some problems about flashing the CM0+ Core.
The first time I flashed the board it works and now I've most of the times the folowing error when I try to flash the CM0+. It sometimes work one time for no reason.
Pop-up Problem Occurred Windows :
Error in final launch sequence:
Failed to start GDB server Failed to start GDB server Error in
initializing ST-LINK device. Reason: (255) Unknown. Please check power
and cabling to target.
Console informations
STMicroelectronics ST-LINK GDB server. Version 6.0.0 Copyright (c)
2021, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Target unknown error 32
Error in initializing ST-LINK device. Reason: Unknown. Please check
power and cabling to target.
It looks like the STlink can't reach the core...
Someone may know what is happening ?
Is there a flashing configuration that has to be done? (to chose which core we want to flash)
I have created a very simple rock paper scissors game based solely on Unity's GUI.It runs perfectly in play mode and does not even show me a warning.
If I try to start it, however, no matter what settings I choose, it shows the unity logo, then a white screen and then it closes.It does not even crashes.Once or twice it crashed with access violation, but since I've added materials to all the things that can have materials it never does that, it simply closes.I've tried the windows compatibility thing and at some point it said that the program was "incompatible",altough it is built for x86_64 windows using unity 5.
Here is the output_log.txt
Mono path[0] = 'D:/Unity Projects/RPS/Builds/2.0_Data/Managed' Mono
path[1] = 'D:/Unity Projects/RPS/Builds/2.0_Data/Mono' Mono config
path = 'D:/Unity Projects/RPS/Builds/2.0_Data/Mono/etc'
PlayerConnection initialized from D:/Unity
Projects/RPS/Builds/2.0_Data (debug = 0) PlayerConnection initialized
network socket : 0.0.0.0 55080 Multi-casting "[IP] 192.168.0.107
[Port] 55080 [Flags] 3 [Guid] 3182763067 [EditorId] 2204854871
[Version] 1048832 [Id] WindowsPlayer(costica-pc) [Debug] 1" to
[225.0.0.222:54997]... Waiting for connection from host on
[192.168.0.107:55080]... PlayerConnection accepted from
[192.168.0.107] handle:0x2fc Using monoOptions
--debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56067
PlayerConnection already initialized - listening to
[192.168.0.107:55080] Initialize engine version: 5.4.1f1
(649f48bbbf0f) GfxDevice: creating device client; threaded=1 Direct3D:
Version: Direct3D 11.0 [level 11.0]
Renderer: NVIDIA GeForce GT 630 (ID=0xf00)
Vendor: NVIDIA
VRAM: 972 MB Begin MonoManager ReloadAssembly Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.dll (this message is
harmless) Loading D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.dll into Unity Child
Domain Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\Assembly-CSharp.dll (this message
is harmless) Loading D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\Assembly-CSharp.dll into Unity
Child Domain Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\Assembly-UnityScript.dll (this
message is harmless) Loading D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\Assembly-UnityScript.dll into
Unity Child Domain Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.UI.dll (this message
is harmless) Loading D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.UI.dll into Unity
Child Domain Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.Networking.dll (this
message is harmless) Loading D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.Networking.dll into
Unity Child Domain Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.Analytics.dll (this
message is harmless) Loading D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\UnityEngine.Analytics.dll into
Unity Child Domain
- Completed reload, in 0.220 seconds Platform assembly: D:\Unity Projects\RPS\Builds\2.0_Data\Managed\System.Core.dll (this message is
harmless) Platform assembly: D:\Unity
Projects\RPS\Builds\2.0_Data\Managed\System.dll (this message is
harmless) desktop: 1920x1080 60Hz; virtual: 1920x1080 at 0,0
Initializing input.
Input initialized.
Initialized touch support.
UnloadTime: 2.366758 ms Setting up 1 worker threads for Enlighten.
Thread -> id: 22b4 -> priority: 1 Waiting for finish
I really do not know what else to do.Any kind of feedback is greatly appreciated.
I have realised the problem.Someone made a comment asking me if I had Application.Quit() anywhere in my code, and I did, as a component to a button.However, the script would be activated on Awake instead of when the button was pressed.
I'm trying to use Eclipse with GNU ARM plugins to debug my stm32f4-discovery board, however, still no luck. The same board works perfectly in Keil running in the virtual machine, so, it doesn't seem to be hardware problem.
I use Linux Mint 13, I've installed all the prerequisites, I have created templated hello world project, it compiles, and when I try to start debug, it stops at the step "Configuring GDB", and after a couple of seconds it fails with the following:
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
localhost:3333: Connection timed out.
Then I tried to manually start openocd:
$ openocd -f /usr/local/share/openocd/scripts/board/stm32f4discovery.cfg
Open On-Chip Debugger 0.7.0 (2014-11-08-01:25)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v23 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : Target voltage: 2.918263
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
And arm-none-eabi-gdb:
$ arm-none-eabi-gdb ~/projects/test_stm/arm_c_1/Debug/arm_c_1.elf
GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/dimon/projects/test_stm/arm_c_1/Debug/arm_c_1.elf...done.
(gdb) target remote localhost:3333
Remote debugging using localhost:3333
0x00000000 in ?? ()
(gdb)
Then, openocd said that connection is accepted:
Info : accepting 'gdb' connection from 3333
Info : stm32f4x errata detected - fixing incorrect MCU_IDCODE
Info : device id = 0x10006413
Info : flash size = 1024kbytes
Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
But, when started by Eclipse, it doesn't work, for some reason.
Well, then I tried to keep openocd started manually and alter my Debug configuration: at the "Debugger" tab, I've unchecked "Start OpenOCD locally". Now, debug session a kind of starts: debug perspective is opened, no meaningful errors are echoed, but debug buttons (resume, suspend, etc) remain inactive. The chip isn't even reprogrammed: previous firmware programmed from inside Keil keeps flashing LEDs.
Here's a screenshot of what Eclipse looks like: http://i.imgur.com/sszA0hr.png
Output of openocd:
$ /usr/local/share/openocd/scripts/board openocd -f ./stm32f4discovery.cfg
Open On-Chip Debugger 0.7.0 (2014-11-08-01:25)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v23 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : Target voltage: 2.919691
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection from 3333
Info : stm32f4x errata detected - fixing incorrect MCU_IDCODE
Info : device id = 0x10006413
Info : flash size = 1024kbytes
Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000154 msp: 0x20030000
semihosting is enabled
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000154 msp: 0x20030000, semihosting
I even tried to re-install all the Eclipse plugins as well as openocd, nothing helped. What could be the trouble?