i am facing a problem causing the editor to freeze on Application.UpdateScene after opening the project and move on it windows for sometime. i have to end task the editor and open it again. this start to happen without any reasonable reason as the project was working fine. i waked up next day open it then boom this problem start. i have tried many editor LTS versions still same issue. also tried to delete and re-import all project files still same. (note it happen without even clicking on play). i had the same problem with different project but i manage to fix it by reverting the scene file throw source control but i can't fix it on this project.
i will go crazy cause of it and i am trying to fix this for 2 weeks now. kindly help me !!!
Editor Version : 2020.3..20 (LTS)
Version Control : Plastic SCM
Screenshot:
Package Manager Logs :
[2021-10-21T16:00:11.124Z][INFO] Command-line: E:\\Unity\\UnityEditor\\2020.3.20f1\\Editor\\Data\\Resources\\PackageManager\\Server\\UnityPackageManager.exe -s 7356 -p 53013 -l 2
[2021-10-21T16:00:11.132Z][INFO] Creating server instance
[2021-10-21T16:00:11.177Z][INFO] Starting Server
[2021-10-21T16:00:11.183Z][INFO] Server started on port [53013]
[2021-10-21T16:00:11.534Z][INFO] GET '/health' <-- Request received
[2021-10-21T16:00:11.536Z][INFO] GET '/health' --> 200 (2 ms)
[2021-10-21T16:00:14.500Z][INFO] GET '/project/registries' <-- Request received
[2021-10-21T16:00:14.515Z][INFO] GET '/project/registries' --> 200 (14 ms)
[2021-10-21T16:00:16.936Z][INFO] GET '/project/registries' <-- Request received
[2021-10-21T16:00:16.941Z][INFO] GET '/project/registries' --> 200 (4 ms)
Editor Logs:
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-MohamedOsama" (connect: 0.00s, validation: 0.01s, handshake: 1.21s)
Entitlement-based licensing initiated
[LicensingClient] Licenses updated successfully
LICENSE SYSTEM [20211021 18:0:10] Next license update check is after 2021-10-22T16:00:10
LICENSE SYSTEM [20211021 18:0:10] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
Built from '2020.3/staging' branch; Version is '2020.3.20f1 (41c4e627c95f) revision 4310246'; Using compiler version '192528614'; Build Type 'Release'
OS: 'Windows 10 Pro; OS build 19043.1288; Version 2009; 64bit' Language: 'en' Physical Memory: 24534 MB
[Licensing::Module] Serial number assigned to: "F4-QBVF-S26X-V36R-D3WY-XXXX"
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start -- Port 53013 was selected
COMMAND LINE ARGUMENTS:
E:\Unity\UnityEditor\2020.3.20f1\Editor\Unity.exe
-projectpath
E:\Unity\Projects\FootBallRunner
-useHub
-hubIPC
-cloudEnvironment
production
-licensingIpc
LicenseClient-MohamedOsama
-hubSessionId
c340e180-327e-11ec-8d53-3d11191052fd
-accessToken
sR9bp3EVon4kSQTo4be7M_EiA8CmECmtnH99sQuLb6g00af
Successfully changed project path to: E:\Unity\Projects\FootBallRunner
E:/Unity/Projects/FootBallRunner
Using Asset Import Pipeline V2.
[Package Manager] Restoring resolved packages state from cache
[Package Manager] Done checking package constraints in 0.00s seconds
[Package Manager]
Registered 50 packages:
Packages from [https://packages.unity.com]:
com.unity.cinemachine#2.6.10 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.cinemachine#2.6.10)
com.unity.collab-proxy#1.11.2 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.collab-proxy#1.11.2)
com.unity.ide.rider#2.0.7 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.ide.rider#2.0.7)
com.unity.ide.vscode#1.2.4 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.ide.vscode#1.2.4)
com.unity.mobile.android-logcat#1.2.3 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.mobile.android-logcat#1.2.3)
com.unity.mobile.notifications#1.4.2 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.mobile.notifications#1.4.2)
com.unity.recorder#2.5.5 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.recorder#2.5.5)
com.unity.render-pipelines.universal#10.6.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.render-pipelines.universal#10.6.0)
com.unity.test-framework#1.1.29 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.test-framework#1.1.29)
com.unity.textmeshpro#3.0.6 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.textmeshpro#3.0.6)
com.unity.timeline#1.4.8 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.timeline#1.4.8)
com.unity.ext.nunit#1.0.6 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.ext.nunit#1.0.6)
com.unity.mathematics#1.1.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.mathematics#1.1.0)
com.unity.render-pipelines.core#10.6.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.render-pipelines.core#10.6.0)
com.unity.shadergraph#10.6.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.shadergraph#10.6.0)
com.unity.searcher#4.3.2 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.searcher#4.3.2)
Built-in packages:
com.unity.ugui#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.ugui#1.0.0)
com.unity.modules.ai#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.ai#1.0.0)
com.unity.modules.androidjni#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.androidjni#1.0.0)
com.unity.modules.animation#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.animation#1.0.0)
com.unity.modules.assetbundle#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.assetbundle#1.0.0)
com.unity.modules.audio#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.audio#1.0.0)
com.unity.modules.cloth#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.cloth#1.0.0)
com.unity.modules.director#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.director#1.0.0)
com.unity.modules.imageconversion#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.imageconversion#1.0.0)
com.unity.modules.imgui#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.imgui#1.0.0)
com.unity.modules.jsonserialize#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.jsonserialize#1.0.0)
com.unity.modules.particlesystem#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.particlesystem#1.0.0)
com.unity.modules.physics#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.physics#1.0.0)
com.unity.modules.physics2d#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.physics2d#1.0.0)
com.unity.modules.screencapture#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.screencapture#1.0.0)
com.unity.modules.terrain#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.terrain#1.0.0)
com.unity.modules.terrainphysics#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.terrainphysics#1.0.0)
com.unity.modules.tilemap#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.tilemap#1.0.0)
com.unity.modules.ui#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.ui#1.0.0)
com.unity.modules.uielements#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.uielements#1.0.0)
com.unity.modules.umbra#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.umbra#1.0.0)
com.unity.modules.unityanalytics#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.unityanalytics#1.0.0)
com.unity.modules.unitywebrequest#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.unitywebrequest#1.0.0)
com.unity.modules.unitywebrequestassetbundle#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.unitywebrequestassetbundle#1.0.0)
com.unity.modules.unitywebrequestaudio#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.unitywebrequestaudio#1.0.0)
com.unity.modules.unitywebrequesttexture#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.unitywebrequesttexture#1.0.0)
com.unity.modules.unitywebrequestwww#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.unitywebrequestwww#1.0.0)
com.unity.modules.vehicles#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.vehicles#1.0.0)
com.unity.modules.video#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.video#1.0.0)
com.unity.modules.vr#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.vr#1.0.0)
com.unity.modules.wind#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.wind#1.0.0)
com.unity.modules.xr#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.xr#1.0.0)
com.unity.modules.subsystems#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.subsystems#1.0.0)
com.unity.modules.uielementsnative#1.0.0 (location: E:\Unity\Projects\FootBallRunner\Library\PackageCache\com.unity.modules.uielementsnative#1.0.0)
[Subsystems] No new subsystems found in resolved package list.
Package Manager log level set to [2]
[Package Manager] Done registering packages in 0.07s seconds
Refreshing native plugins compatible for Editor in 81.33 ms, found 5 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Initialize engine version: 2020.3.20f1 (41c4e627c95f)
[Subsystems] Discovering subsystems at path E:/Unity/UnityEditor/2020.3.20f1/Editor/Data/Resources/UnitySubsystems
[Subsystems] Discovering subsystems at path E:/Unity/Projects/FootBallRunner/Assets
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
Driver: 30.0.14.9613
Shader 'MoreMountains/MMRipple': fallback shader 'Particle/AlphaBlended' not found
Initialize mono
Mono path[0] = 'E:/Unity/UnityEditor/2020.3.20f1/Editor/Data/Managed'
Mono path[1] = 'E:/Unity/UnityEditor/2020.3.20f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit'
Mono config path = 'E:/Unity/UnityEditor/2020.3.20f1/Editor/Data/MonoBleedingEdge/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56356
AcceleratorClientConnectionCallback - disconnected - :0
Begin MonoManager ReloadAssembly
Registering precompiled unity dll's ...
Register platform support module: E:/Unity/UnityEditor/2020.3.20f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
Register platform support module: E:/Unity/UnityEditor/2020.3.20f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
Registered in 0.001384 seconds.
Native extension for WindowsStandalone target not found
Native extension for Android target not found
Refreshing native plugins compatible for Editor in 65.02 ms, found 5 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly
Completed reload, in 1.447 seconds
Domain Reload Profiling:
ReloadAssembly (1470ms)
BeginReloadAssembly (48ms)
ExecutionOrderSort (0ms)
DisableScriptedObjects (0ms)
BackupInstance (0ms)
ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (1ms)
EndReloadAssembly (414ms)
LoadAssemblies (48ms)
RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (134ms)
ReleaseScriptCaches (0ms)
RebuildScriptCaches (27ms)
SetupLoadedEditorAssemblies (175ms)
LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (5ms)
SetLoadedEditorAssemblies (0ms)
RefreshPlugins (65ms)
BeforeProcessingInitializeOnLoad (8ms)
ProcessInitializeOnLoadAttributes (71ms)
ProcessInitializeOnLoadMethodAttributes (26ms)
AfterProcessingInitializeOnLoad (0ms)
EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (0ms)
Platform modules already initialized, skipping
Validating Project structure ... 0.019488 seconds.
Shader import version has changed; will reimport all shaders...
Upgrading shader files ...0.028021 seconds.
Application.AssetDatabase Initial Script Refresh Start
Registering precompiled user dll's ...
Registered in 0.004477 seconds.
AssetDatabase: script compilation time: 0.036388s
Begin MonoManager ReloadAssembly
Native extension for WindowsStandalone target not found
Native extension for Android target not found
Refreshing native plugins compatible for Editor in 65.18 ms, found 5 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly
Completed reload, in 1.140 seconds
Domain Reload Profiling:
ReloadAssembly (1186ms)
BeginReloadAssembly (130ms)
ExecutionOrderSort (0ms)
DisableScriptedObjects (4ms)
BackupInstance (0ms)
ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (18ms)
EndReloadAssembly (1004ms)
LoadAssemblies (92ms)
RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (316ms)
ReleaseScriptCaches (1ms)
RebuildScriptCaches (67ms)
SetupLoadedEditorAssemblies (347ms)
LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (5ms)
SetLoadedEditorAssemblies (0ms)
RefreshPlugins (65ms)
BeforeProcessingInitializeOnLoad (75ms)
ProcessInitializeOnLoadAttributes (192ms)
ProcessInitializeOnLoadMethodAttributes (8ms)
AfterProcessingInitializeOnLoad (2ms)
EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (6ms)
Platform modules already initialized, skipping
RefreshInfo: InitialScriptRefreshV2(NoUpdateAssetOptions) scanfilter: ... 1 filters
RefreshProfiler: Total: 2438.993ms
InvokeBeforeRefreshCallbacks: 0.299ms
ApplyChangesToAssetFolders: 0.052ms
Scan: 129.225ms
OnSourceAssetsModified: 0.000ms
InitializeImportedAssetsSnapshot: 0.233ms
GetAllGuidsForCategorization: 0.603ms
CategorizeAssets: 61.750ms
ImportAndPostprocessOutOfDateAssets: 2201.336ms (2163.394ms without children)
CompileScripts: 37.001ms
PostProcessAllAssets: 0.000ms
EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.454ms
InitializingProgressBar: 0.016ms
PostProcessAllAssetNotificationsAddChangedAssets: 0.383ms
RestoreLoadedAssetsState: 0.089ms
ReloadSourceAssets: 0.438ms
UnloadImportedAssets: 0.012ms
Hotreload: 1.914ms
FixTempGuids: 0.005ms
GatherAllCurrentPrimaryArtifactRevisions: 0.000ms
UnloadStreamsBegin: 0.750ms
LoadedImportedAssetsSnapshotReleaseGCHandles: 0.026ms
GetLoadedSourceAssetsSnapshot: 0.142ms
PersistCurrentRevisions: 0.879ms
UnloadStreamsEnd: 19.027ms
GenerateScriptTypeHashes: 0.267ms
Untracked: 22.301ms
Application.AssetDatabase Initial Script Refresh End
Application.AssetDatabase.Refresh Start
Refresh completed in 0.083317 seconds.
RefreshInfo: RefreshV2(ForceSynchronousImport) scanfilter:
RefreshProfiler: Total: 83.302ms
Application.AssetDatabase.Refresh End
RefreshInfo: StopAssetImportingV2(ForceSynchronousImport) scanfilter:
RefreshProfiler: Total: 2.991ms
Refresh completed in 0.076554 seconds.
RefreshInfo: RefreshV2(NoUpdateAssetOptions) scanfilter:
RefreshProfiler: Total: 76.526ms
Shader 'MoreMountains/MMRipple': fallback shader 'Particle/AlphaBlended' not found
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Initializing Unity extensions:
Unloading 538 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 205.7 MB.
System memory in use after: 205.1 MB.
Unloading 589 unused Assets to reduce memory usage. Loaded Objects now: 4325.
Total: 4.666400 ms (FindLiveObjects: 0.389900 ms CreateObjectMapping: 0.206200 ms MarkObjects: 3.410300 ms DeleteObjects: 0.659100 ms)
ProgressiveSceneManager::Cancel()
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
[MODES] Loading mode Default (0) for mode-current-id-FootBallRun
[LAYOUT] About to load Library/CurrentLayout-default.dwlt, keepMainWindow=False
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
[MODES] ModeService[default].InitializeCurrentMode
[MODES] ModeService[default].UpdateModeMenus
IsTimeToCheckForNewEditor: Update time 1634832345 current 1634832018
<RI> Initializing input.
<RI> Input initialized.
[Project] Loading completed in 10.583 seconds
Project init time: 0.850 seconds
Template init time: 0.000 seconds
Package Manager init time: 0.000 seconds
Asset Database init time: 0.000 seconds
Global illumination init time: 0.000 seconds
Assemblies load time: 0.000 seconds
Unity extensions init time: 0.001 seconds
Asset Database refresh time: 0.000 seconds
Scene opening time: 0.771 seconds
Created GICache directory at C:/Users/MohamedOsama/AppData/LocalLow/Unity/Caches/GiCache. Took: 0.021s, timestamps: [11.085 - 11.106]
gi::BakeBackendSwitch: switching bake backend from 3 to 1.
[00:00:01] Enlighten: Builtin Sky manager started.
TrimDiskCacheJob: Current cache size 0mb
[00:00:01] Enlighten: Finished 1 Bake Ambient Probe job (0.00s execute, 0.00s integrate, 0.05s wallclock)
[collab-accelerator] discovery started due to a new cloud project binding
UPID Received '34ce9347-a810-4a4b-ae49-30b0b0e9df41'.
<RI> Initialized touch support.
[collab-accelerator] Set collab endpoint to https://collab.cloud.unity3d.com (collab-service)
Opening scene 'Assets/_Scenes/GameScene.unity'
Unloading 72 Unused Serialized files (Serialized files now loaded: 0)
Loaded scene 'Assets/_Scenes/GameScene.unity'
Deserialize: 534.806 ms
Integration: 458.953 ms
Integration of assets: 54.984 ms
Thread Wait Time: 0.006 ms
Total Operation Time: 1048.749 ms
System memory in use before: 376.7 MB.
System memory in use after: 359.7 MB.
Unloading 77 unused Assets to reduce memory usage. Loaded Objects now: 34353.
Total: 55.422400 ms (FindLiveObjects: 2.865800 ms CreateObjectMapping: 2.335600 ms MarkObjects: 39.535300 ms DeleteObjects: 10.684500 ms)
Setting up 2 worker threads for Enlighten.
Thread -> id: 1364 -> priority: 1
Thread -> id: 20e8 -> priority: 1
[00:00:01] Enlighten: Finished 1 Bake Ambient Probe job (0.00s execute, 0.00s integrate, 0.38s wallclock)
if anyone face this on the future, i manage to fix the problem by debugging for some hours following this great guys steps :
https://www.youtube.com/watch?v=lbkeJtTOrzk
anyway the cause was cinemachine dolly track specially CinemaMachineSmoothPath Script, i was using one waypoint as default value for waypoints, because i didn't need to specify more
i have a script was assigning them on the runtime.
So the editor was looping for no reason before clicking on the play button causing it to freeze like above.
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.
The code is working. I can build it and to mention. it was working, i could upload it to my custom made ESP32 board. From all of a sudden it stopped working. Tried with different PCB boards also different cables.
I somehow resolved my problem so i can program it, but now i get a verification error after Programming Finished
Here is my complete log from terminal.
Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
-----------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.4.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-espidf 3.40301.0 (4.3.1)
- tool-cmake 3.16.4
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkspiffs 2.230.0 (2.30)
- tool-ninja 1.9.0
- tool-openocd-esp32 2.1000.20210721 (10.0)
- toolchain-esp32ulp 1.22851.191205 (2.28.51)
- toolchain-riscv32-esp 8.4.0+2021r1
- toolchain-xtensa-esp32 8.4.0+2021r1
- toolchain-xtensa-esp32s2 8.4.0+2021r1
Reading CMake configuration...
LDF: Library Dependency Finder ->
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in debug mode
Retrieving maximum program size .pio/build/esp32dev/firmware.elf
Checking size .pio/build/esp32dev/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 10.1% (used 32992 bytes from 327680 bytes)
Flash: [======== ] 75.7% (used 794197 bytes from 1048576 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esp-prog
Uploading .pio/build/esp32dev/firmware.bin
Open On-Chip Debugger v0.10.0-esp32-20210721 (2021-07-21-13:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
adapter speed: 20000 kHz
WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
adapter speed: 2000 kHz
** Programming Started **
** Programming Finished **
** Verify Started **
Error: **** Verification failure! ****
Error: target_hash cbc6a9...992065
Error: file_hash: 773d62...93803f
embedded:startup.tcl:449: Error: ** Verify Failed **
in procedure 'program_esp'
in procedure 'program_error' called at file "/Users/USER/.platformio/packages/tool-openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 135
at file "embedded:startup.tcl", line 449
*** [upload] Error 1
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.```
I'm pretty green here. I've run gatsby on this (macosx) before. It has stopped working - presumably due to an install or environment variable somewhere?
First noticed with Module build failed: Error: Couldn't find preset "flow" relative to directory "/Users/3Legs"
Then after installing babel presets:
npm install --global --save-dev babel-preset-flow
I get the above message:
gatsby develop
... Cannot find module 'gatsby/dist/commands/develop'
FULL TRAIL BELOW + babelrc
Michaels-MacBook-Air:mggatsby 3Legs$
gatsby new test
-bash: /usr/local/bin/gatsby: No such file or directory
Michaels-MacBook-Air:mggatsby 3Legs$
npm install --global gatsby-cli
WARN registry Unexpected warning for registry.npmjs.org: Miscellaneous Warning EINTEGRITY: sha1-xRn2KfhrOlvtuliojTETCe7Al/k= integrity checksum failed when using sha1: wanted sha1-xRn2KfhrOlvtuliojTETCe7Al/k= but got sha512-vE2hT1D0HLZCLLclfBSfkfTTedhVj0fubHpJBHKwwUWX0nSbhPAfk+SG9rTX95BYNmau8rGFfCeaT6T5OW1C2A==. (455516 bytes)
WARN registry Using stale package data from registry.npmjs.org/ due to a request error during revalidation.
WARN registry Unexpected warning for registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-buxr+wdCHiFIx1xrunJCH4UwqCY= integrity checksum failed when using sha1: wanted sha1-buxr+wdCHiFIx1xrunJCH4UwqCY= but got sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg==. (42903 bytes)
WARN registry Using stale package data from registry.npmjs.org/ due to a request error during revalidation.
/usr/local/bin/gatsby -> /usr/local/lib/node_modules/gatsby-cli/lib/index.js
+ gatsby-cli#1.1.1
added 153 packages, removed 5 packages and updated 1 package in 10.573s
Michaels-MacBook-Air:mggatsby 3Legs$
gatsby new test
info Creating new site from git: git://github.com/gatsbyjs/gatsby-starter-default.git
Cloning into 'test'...
remote: Counting objects: 566, done.
remote: Total 566 (delta 0), reused 0 (delta 0), pack-reused 566
Receiving objects: 100% (566/566), 358.35 KiB | 187.00 KiB/s, done.
Resolving deltas: 100% (316/316), done.
success Created starter directory layout
info Installing packages...
yarn install v0.27.5
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "eslint-config-fbjs#1.1.1" has unmet peer dependency "babel-eslint#^6.1.2".
warning "eslint-config-fbjs#1.1.1" has unmet peer dependency "eslint#^3.0.0".
warning "eslint-config-fbjs#1.1.1" has unmet peer dependency "eslint-plugin-babel#^3.3.0".
warning "eslint-config-fbjs#1.1.1" has unmet peer dependency "eslint-plugin-flowtype#^2.15.0".
warning "eslint-config-fbjs#1.1.1" has unmet peer dependency "eslint-plugin-react#^5.2.2".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 47.94s.
Michaels-MacBook-Air:mggatsby 3Legs$
cd test
Michaels-MacBook-Air:test 3Legs$
gatsby develop
success delete html files from previous builds — 0.010 s
success open and validate gatsby-config.js — 0.006 s
success copy gatsby files — 0.028 s
success source and transform nodes — 0.045 s
success building schema — 0.134 s
success createLayouts — 0.039 s
success createPages — 0.016 s
success createPagesStatefully — 0.016 s
success extract queries from components — 0.118 s
success run graphql queries — 0.030 s
success write out page data — 0.006 s
success update schema — 0.094 s
info bootstrap finished - 3.856 s
error There was an error compiling the html.js component for the development server.
See our docs page on debugging HTML builds for help ...
Error: Module build failed: Error: Couldn't find preset "flow" relative to directory "/Users/3Legs"
Michaels-MacBook-Air:test 3Legs$
npm install --save-dev babel-preset-flow
npm WARN gentlyRm not removing /Users/3Legs/react/mggatsby/test/node_modules/.bin/gatsby as it wasn't installed by /Users/3Legs/react/mggatsby/test/node_modules/gatsby
npm WARN gentlyRm not removing /Users/3Legs/react/mggatsby/test/node_modules/.bin/semver as it wasn't installed by /Users/3Legs/react/mggatsby/test/node_modules/semver
npm WARN gentlyRm not removing /Users/3Legs/react/mggatsby/test/node_modules/jspm-registry/node_modules/.bin/semver as it wasn't installed by /Users/3Legs/react/mggatsby/test/node_modules/jspm-registry/node_modules/semver
npm WARN gentlyRm not removing /Users/3Legs/react/mggatsby/test/node_modules/.bin/browserslist as it wasn't installed by /Users/3Legs/react/mggatsby/test/node_modules/browserslist
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN gatsby-starter-default#1.0.0 No repository field.
+ babel-preset-flow#6.23.0
removed 1375 packages and updated 6 packages in 17.729s
Michaels-MacBook-Air:test 3Legs$
gatsby develop
/usr/local/bin/gatsby develop
Options:
-h, --help Show help [boolean]
-H, --host Set host. Defaults to localhost [string]
-p, --port Set port. Defaults to 8000 [string] [default: "8000"]
-o, --open Open the site in your browser for you. [boolean]
-v, --version Show version number [boolean]
error There was a problem loading the local develop command. Gatsby may not be installed.
Error: Cannot find module 'gatsby/dist/commands/develop'
- index.js:17 resolveFileName
[lib]/[gatsby-cli]/[resolve-from]/index.js:17:39
- index.js:31 resolveFrom
[lib]/[gatsby-cli]/[resolve-from]/index.js:31:9
- index.js:34 module.exports
[lib]/[gatsby-cli]/[resolve-from]/index.js:34:41
- index.js:4 module.exports.moduleId
[lib]/[gatsby-cli]/[resolve-cwd]/index.js:4:30
- create-cli.js:35 resolveLocalCommand
[lib]/[gatsby-cli]/lib/create-cli.js:35:22
- create-cli.js:66 Object.handler
[lib]/[gatsby-cli]/lib/create-cli.js:66:7
- command.js:233 Object.self.runCommand
[lib]/[gatsby-cli]/[yargs]/lib/command.js:233:22
- yargs.js:990 Object.Yargs.self._parseArgs
[lib]/[gatsby-cli]/[yargs]/yargs.js:990:30
- yargs.js:532 Object.Yargs.self.parse
[lib]/[gatsby-cli]/[yargs]/yargs.js:532:23
- create-cli.js:163 module.exports
[lib]/[gatsby-cli]/lib/create-cli.js:163:154
- index.js:122 Object.<anonymous>
[lib]/[gatsby-cli]/lib/index.js:122:1
Michaels-MacBook-Air:~ 3Legs$
cat .babelrc
{
"presets": ["flow"]
}
NPM seems to be removing modules because there isn't a package-lock.json. Not sure if this is new behavior but it's been hitting a lot of people in past few days.
All you need to do is delete node_modules and any lock file there and run npm install.
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.