bncdev
Topic Author
Posts: 3
Joined: 14 Mar 2023, 23:29

Fresh Unity 2022.2.11f1 project crashes with 3.2 Noesis

17 Mar 2023, 03:54

In a new 3d blank project, adding Noesis 3.2 and then the samples. Configured license.

Is there something else I need to install/configure? Didn't see any other step.

All of the scenes show blank and trying to run it crashes for memory access violation. Also clicking on anything in the project folder selection that is associated to Noesis (has its icon as it, which is some of the fonts in the samples and the xaml files) crashes Unity as well. This dump is specific to the crash while clicking on the xaml file, but the crash when playing one of the sample scenes gives an almost identical error.

Dump Summary
------------
Dump File: crash.dmp : C:\Users\dev\AppData\Local\Temp\Unity\Editor\Crashes\Crash_2023-03-17_024557706\crash.dmp
Last Write Time: 3/16/2023 8:45:58 PM
Process Name: Unity.exe : C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Unity.exe
Process Architecture: x64
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present

System Information
------------------
OS Version: 10.0.19044
CLR Version(s):

Modules
-------
Module Name Module Path Module Version
----------- ----------- --------------
Unity.exe C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Unity.exe 2022.2.11.7382
...
Some additonal info from the Editor log.
...

Asset Pipeline Refresh (id=dc86a6342c29c2447a278ecedcbcf46d): Total: 0.069 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
[Worker0] Start importing Assets/Samples/NoesisGUI/3.2.0/Buttons/Aero Matics Regular.ttf using Guid(7d07c5468a8acb84593f488f16c11691) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
Crash!!!

...

========== OUTPUTTING STACK TRACE ==================

0x00007FFC94D006B1 (Noesis) RequestNavigateEventArgs_Target_get
0x00007FFC94CFEE69 (Noesis) RequestNavigateEventArgs_Target_get
0x00007FFC94CFCD2A (Noesis) RequestNavigateEventArgs_Target_get
0x00007FFC94D00EE7 (Noesis) RequestNavigateEventArgs_Target_get
0x00007FFC94C58FE8 (Noesis) Noesis_RenderDeviceD3D12_WrapTexture
0x00007FFC94C55A9F (Noesis) Noesis_RegisterLogCallback
0x00007FFC94C56BAE (Noesis) Noesis_RegisterLogCallback
0x00007FFC94C566B5 (Noesis) Noesis_RegisterLogCallback
0x00007FF62D40BB29 (Unity) GfxDevice::InsertCustomMarkerCallbackAndDataWithFlags
0x00007FF62ECED496 (Unity) GfxDeviceWorker::RunCommand
0x00007FF62ECF48CB (Unity) GfxDeviceWorker::RunExt
0x00007FF62ECF49E8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF62D349C67 (Unity) Thread::RunThreadWrapper
0x00007FFD23237614 (KERNEL32) BaseThreadInitThunk
0x00007FFD244E26A1 (ntdll) RtlUserThreadStart

...
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Fresh Unity 2022.2.11f1 project crashes with 3.2 Noesis

17 Mar 2023, 17:01

Could you please confirm this is a clean installation?

When upgrading the Noesis package, sometimes Unity is not able to unload the old native library and load the new one. Reopening the project is necessary.

Could you please confirm you are having the same problems after closing and reopening the project?
 
bncdev
Topic Author
Posts: 3
Joined: 14 Mar 2023, 23:29

Re: Fresh Unity 2022.2.11f1 project crashes with 3.2 Noesis

17 Mar 2023, 23:29

Fresh install.

Downloaded 3.2, unzipped.
Created new 3d project using 2022.2.11 Unity Editor
Added package from local package.json
Configured license
Imported samples

There was a restart during the package being added for installing the dependency of the input system and enabling it. Reopened after crashes/closed and reopened, both still crash trying to run the sample or clicking on the xaml or font in the samples.
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Fresh Unity 2022.2.11f1 project crashes with 3.2 Noesis

18 Mar 2023, 02:25

Something really unexpected is going on here. I see you are on windows, does it happen in both d3d11 and d3d12 renderers?
 
bncdev
Topic Author
Posts: 3
Joined: 14 Mar 2023, 23:29

Re: Fresh Unity 2022.2.11f1 project crashes with 3.2 Noesis

18 Mar 2023, 04:32

Yes, it was default set to auto, unchecked that and it had d11 auto there. Changed to d12 as only option in the list, restarted, same issues. Changed back to d11 as only option in the list, restarted, same issues. And this is both running one of the samples or clicking on a font or xaml file.

Also looks like I can't run the default sample scene(the one added when you create a new unity project) after once Noesis is installed. Removing the package allows me to run the default sample scene with the new project.

Is there something else that needs to be setup? I am on a VM running Windows 10 and have VS 2022, VS 2019, and Rider.

Did just get a different crash after I removed Noesis and re-added it(testing if the default scene worked with out Noesis). Instead of alerting me it just shut down unity. Looks like a similar issue with loading the asset, but maybe some more information? The error was in the AssetImportWorker0.log
...

Start importing Assets/Samples/NoesisGUI/3.2.0/Buttons/Aero Matics Regular.ttf using Guid(7d07c5468a8acb84593f488f16c11691) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
=================================================================
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.Graphics:ExecuteCommandBuffer <0x00089>
at NoesisFontEditor:RenderPreview <0x002b2>
at NoesisFontEditor:RenderStaticPreview <0x000ea>
at UnityEditor.AssetPreviewUpdater:CreatePreview <0x0018f>
at UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset <0x00042>
at <Module>:runtime_invoke_object_object_object_object <0x0008f>
=================================================================
Received signal SIGSEGV
Obtained 44 stack frames
0x00007ffeb25aee69 (Noesis) RequestNavigateEventArgs_Target_get
0x00007ffeb25acd2a (Noesis) RequestNavigateEventArgs_Target_get
0x00007ffeb25b0ee7 (Noesis) RequestNavigateEventArgs_Target_get
0x00007ffeb2508fe8 (Noesis) Noesis_RenderDeviceD3D12_WrapTexture
0x00007ffeb2505a9f (Noesis) Noesis_RegisterLogCallback
0x00007ffeb2506bae (Noesis) Noesis_RegisterLogCallback
0x00007ffeb25066b5 (Noesis) Noesis_RegisterLogCallback
0x00007ff619d5bb29 (Unity) GfxDevice::InsertCustomMarkerCallbackAndDataWithFlags
0x00007ff61a03df9a (Unity) GfxDeviceClient::InsertCustomMarkerCallbackAndDataWithFlags
0x00007ff6199c2818 (Unity) RenderingCommandBuffer::ExecuteCommandBufferWithState
0x00007ff6199bedaa (Unity) RenderingCommandBuffer::ExecuteCommandBuffer
0x00007ff6199519d2 (Unity) ExecuteCommandBufferFromScriptImpl
0x00007ff618f160e8 (Unity) Graphics_CUSTOM_ExecuteCommandBuffer
0x000001da6b2527ca (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Graphics:ExecuteCommandBuffer (UnityEngine.Rendering.CommandBuffer)
0x000001da6b2530c3 (Mono JIT Code) NoesisFontEditor:RenderPreview (Noesis.View,int,int) (at C:/Unity/Packages/NoesisGUI-Unity-3.2.0-Indie/Editor/NoesisFontEditor.cs:363)
0x000001da6a273c3b (Mono JIT Code) NoesisFontEditor:RenderStaticPreview (string,UnityEngine.Object[],int,int) (at C:/Unity/Packages/NoesisGUI-Unity-3.2.0-Indie/Editor/NoesisFontEditor.cs:323)
0x000001da6c405310 (Mono JIT Code) UnityEditor.AssetPreviewUpdater:CreatePreview (UnityEngine.Object,UnityEngine.Object[],string,int,int)
0x000001da6c404ff3 (Mono JIT Code) UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset (UnityEngine.Object,UnityEngine.Object[],string)
0x000001da6c4050b0 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_object_object_object_object (object,intptr,intptr,intptr)
0x00007ffeb1ad0394 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffeb1a0eb44 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ffeb1a0ecdc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff619e4b984 (Unity) scripting_method_invoke
0x00007ff619e2c2f4 (Unity) ScriptingInvocation::Invoke
0x00007ff61b1cd3fd (Unity) MonoCreateAssetPreview
0x00007ff61b1cc1f0 (Unity) WriteAssetPreviewToFile
0x00007ff61b1cc983 (Unity) WritePreviews
0x00007ff61b1c37ef (Unity) PreviewImporter::GenerateAssetData
0x00007ff61b20d575 (Unity) ImportToObjects
0x00007ff61b20c5c3 (Unity) ImportAsset
0x00007ff61b230b18 (Unity) AssetImportWorker::Import
0x00007ff61b298c92 (Unity) <lambda_69af4a5b0ce0078c4fd228ca0fd074a7>::operator()
0x00007ff61b2d3da2 (Unity) asio::detail::completion_handler<core::mutable_function<void __cdecl(void)>,asio::io_context::basic_executor_type<std::allocator<void>,0> >::do_complete
0x00007ff61b2bfd4e (Unity) asio::detail::win_iocp_io_context::do_one
0x00007ff61b2c19b4 (Unity) asio::detail::win_iocp_io_context::run
0x00007ff61b2d214c (Unity) IOService::Run
0x00007ff61b2a6b3f (Unity) AssetImportWorkerClient::Run
0x00007ff61b271827 (Unity) RunAssetImportWorkerClientV2
0x00007ff61b2718ab (Unity) RunAssetImporterV2
0x00007ff61aa60a53 (Unity) Application::InitializeProject
0x00007ff61aefd4b5 (Unity) WinMain
0x00007ff61c2dec8e (Unity) __scrt_common_main_seh
0x00007fff0fa57614 (KERNEL32) BaseThreadInitThunk
0x00007fff116826a1 (ntdll) RtlUserThreadStart
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Fresh Unity 2022.2.11f1 project crashes with 3.2 Noesis

21 Mar 2023, 16:27

Is there something else that needs to be setup? I am on a VM running Windows 10 and have VS 2022, VS 2019, and Rider.
We haven't tested using Noesis under a VM. Is the rest of Unity (without Noesis) working fine with this setup? Like, for example, playing a scene with 3D content.

Who is online

Users browsing this forum: Ahrefs [Bot] and 61 guests