Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
222 views
in Technique[技术] by (71.8m points)

c# - Unity build is crashing

I am using system.drawing to generate image out of text. It works in Editor, but unfortunately it crashes. In build it creates some image of text, but if there are too many text it is not handling and crashing.

Same implementation for another app is working without any issue.

what can be the issue and how do i fix it? please help me!!

Below is the crash log:

Mono DLL loaded successfully at 'C:UsersSunilDesktopUnity1 IX0 IX VRIXPresenter SourceVRIX_Presenter_SourceBuildsv3MonoBleedingEdgeEmbedRuntimemono-2.0-bdwgc.dll'. Stack Trace of Crashed Thread 10036: ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 0000020BF3F498C0) ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 0000020BF3F498C0) 0x0000020BF3F498C0 (()) (function-name not available) 0x00007FFA900F8239 (gdiplus) GdipDeletePrivateFontCollection 0x0000028D5AA4DF9A (System.Drawing) System.Drawing.GDIPlus.GdipDeletePrivateFontCollection() 0x0000028D5AA4DED3 (System.Drawing) System.Drawing.Text.PrivateFontCollection.Dispose() 0x0000028D5AA4DE2B (System.Drawing) System.Drawing.Text.FontCollection.Finalize() 0x0000028D4E48A8F4 (mscorlib) System.Object.runtime_invoke_virtual_void__this__() 0x00007FFA2B2B3469 (mono-2.0-bdwgc) mono_gc_reference_queue_new 0x00007FFA2B4AB8B2 (mono-2.0-bdwgc) GC_gcj_malloc 0x00007FFA2B2B2369 (mono-2.0-bdwgc) mono_callspec_parse 0x00007FFA2B2757D8 (mono-2.0-bdwgc) mono_threads_set_shutting_down 0x00007FFA2B275566 (mono-2.0-bdwgc) mono_threads_set_shutting_down 0x00007FFAA6EB7C24 (KERNEL32) BaseThreadInitThunk 0x00007FFAA852D4D1 (ntdll) RtlUserThreadStart

Also i have tried running as Admin and it still crashes. enter image description here

Thanks Sunil

question from:https://stackoverflow.com/questions/65598395/unity-build-is-crashing

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...