Why crash when run game cooker with example project FirstPersonShooter

Hi sir:

when I run game cooker , with project FirstPersonShooter, windows 10 x64, it show Unhandled exception: EXCEPTION_ACCESS_VIOLATION reading address 0x2009ffe0.

all example project  run game cooker get same  result.

This is crash log:

================================================================
Start of the log, 2022-04-05 14:54:07

[ 00:00:00.000 ]: [Info] Flax Engine
[ 00:00:00.000 ]: [Info] Platform: Windows x64 (Development)
[ 00:00:00.000 ]: [Info] Version 1.3.6228
[ 00:00:00.000 ]: [Info] Compiled: Mar 2 2022 20:24:23
[ 00:00:00.000 ]: [Info] Compiled with Visual C++ 19.30.30709.00
[ 00:00:00.000 ]: [Info] Product: Flax Editor, Company: Flax
[ 00:00:00.000 ]: [Info] Current culture: zh-CN
[ 00:00:00.000 ]: [Info] Command line: -project ‘C:\Users\china\Documents\Flax Projects\FlaxSamples\FirstPersonShooterTemplate’
[ 00:00:00.000 ]: [Info] Base directory: D:\Program Files (x86)/Flax/Flax_1.3
[ 00:00:00.000 ]: [Info] Temporary folder: C:\Users/china/AppData/Local/Temp/3ffa0109-4a0a-2e49-87db-9698c1b892c2
[ 00:00:00.000 ]: [Info] Project folder: C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate
[ 00:00:00.000 ]: [Info] Project name: FirstPersonShooter
[ 00:00:00.000 ]: [Info] CPU package count: 1, Core count: 4, Logical processors: 8
[ 00:00:00.000 ]: [Info] CPU Page size: 4.0 KB, cache line size: 64 bytes
[ 00:00:00.000 ]: [Info] L1 cache: 320.0 KB, L2 cache: 5.0 MB, L3 cache: 8.0 MB
[ 00:00:00.000 ]: [Info] Clock speed: 0.01 GHz
[ 00:00:00.000 ]: [Info] Physical Memory: 15.8 GB total, 5.44 GB used (34.43%)
[ 00:00:00.000 ]: [Info] Virtual Memory: 128.0 TB total, 4.26 GB used (0.0%)
[ 00:00:00.000 ]: [Info] Main thread id: 0x2054, Process id: 4612
[ 00:00:00.000 ]: [Info] Desktop size: X:2256.0 Y:1504.0
[ 00:00:00.000 ]: [Info] Virtual Desktop size: X:0.0 Y:0.0 Width:2256.0 Height:1504.0
[ 00:00:00.000 ]: [Info] Screen DPI: 192
[ 00:00:00.000 ]: [Info] Microsoft Windows 10 Home China 64-bit (10.0.19044)
[ 00:00:00.000 ]: [Info] Last project open version: 1.3.6228
[ 00:00:00.000 ]: [Info] Initialize Objects Removal Service…
[ 00:00:00.000 ]: [Info] Initialize Thread Pool…
[ 00:00:00.000 ]: [Info] Spawning 3 Thread Pool workers
[ 00:00:00.000 ]: [Info] Initialize Time…
[ 00:00:00.000 ]: [Info] Initialize ContentStorage…
[ 00:00:00.000 ]: [Info] Initialize JobSystem…
[ 00:00:00.000 ]: [Info] Thread ‘Thread Pool 0’ ID=0x9d0 started with priority Normal
[ 00:00:00.000 ]: [Info] Thread ‘Thread Pool 1’ ID=0x8d0 started with priority Normal
[ 00:00:00.000 ]: [Info] Thread ‘Thread Pool 2’ ID=0x22ec started with priority Normal
[ 00:00:00.000 ]: [Info] Thread ‘Job System 0’ ID=0x22e4 started with priority AboveNormal
[ 00:00:00.000 ]: [Info] Thread ‘Job System 1’ ID=0x22e8 started with priority AboveNormal
[ 00:00:00.000 ]: [Info] Initialize Font Manager…
[ 00:00:00.000 ]: [Info] Thread ‘Job System 2’ ID=0x22e0 started with priority AboveNormal
[ 00:00:00.000 ]: [Info] Thread ‘Job System 6’ ID=0x1d54 started with priority AboveNormal
[ 00:00:00.016 ]: [Info] FreeType initialized, version: 2.10.0
[ 00:00:00.016 ]: [Info] Thread ‘Job System 4’ ID=0x28b0 started with priority AboveNormal
[ 00:00:00.016 ]: [Info] Initialize Content…
[ 00:00:00.016 ]: [Info] Thread ‘Job System 5’ ID=0x26cc started with priority AboveNormal
[ 00:00:00.016 ]: [Info] Thread ‘Job System 3’ ID=0x242c started with priority AboveNormal
[ 00:00:00.016 ]: [Info] Loading Asset Cache C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Cache/AssetsCache.dat…
[ 00:00:00.016 ]: [Info] Thread ‘Job System 7’ ID=0x2b30 started with priority AboveNormal
[ 00:00:00.016 ]: [Info] Asset Cache loaded 170 entries in 0 ms (0 rejected)
[ 00:00:00.016 ]: [Info] Initialize Content Loading Manager…
[ 00:00:00.016 ]: [Info] Creating 4 content loading threads…
[ 00:00:00.016 ]: [Info] Initialize Localization…
[ 00:00:00.016 ]: [Info] Thread ‘Load Thread 0’ ID=0x1490 started with priority Normal
[ 00:00:00.016 ]: [Info] Thread ‘Load Thread 1’ ID=0x76c started with priority Normal
[ 00:00:00.016 ]: [Info] Thread ‘Load Thread 2’ ID=0x2ae0 started with priority Normal
[ 00:00:00.016 ]: [Info] Thread ‘Load Thread 3’ ID=0x7c4 started with priority Normal
[ 00:00:00.032 ]: [Info] Initialize AssetsImportingManager…
[ 00:00:00.032 ]: [Info] Initialize AssetsExportingManager…
[ 00:00:00.032 ]: [Info] Initialize Shader Cache Manager…
[ 00:00:00.032 ]: [Info] Initialize Shaders Compilation Service…
[ 00:00:00.032 ]: [Info] Initialize Debug Draw…
[ 00:00:00.032 ]: [Info] Initialize GameSettings…
[ 00:00:00.032 ]: [Info] Thread ‘File System Watchers’ ID=0x2b44 started with priority BelowNormal
[ 00:00:00.032 ]: [Info] Initialize Input…
[ 00:00:00.032 ]: [Info] Initialize Audio…
[ 00:00:00.032 ]: [Info] Audio system initialization… (backend: OpenAL)
[ 00:00:00.047 ]: [Info] Rebuild audio contexts
[ 00:00:00.465 ]: [Info] Rebuild audio contexts
[ 00:00:00.540 ]: [Info] OpenAL Soft (1.1 ALSOFT 1.19.1)
[ 00:00:00.540 ]: [Info] [active] 扬声器 (Realtek(R) Audio)
[ 00:00:00.540 ]: [Info] Initialize Graphics…

[ 00:00:00.540 ]: [Info] Creating Graphics Device…
[ 00:00:00.600 ]: [Info] Adapter 0: ‘Intel(R) Iris(R) Xe Graphics’, DirectX 11
[ 00:00:00.600 ]: [Info] Dedicated Video Memory: 128.0 MB, Dedicated System Memory: 0.0 B, Shared System Memory: 7.9 GB, Output(s): 1
[ 00:00:00.610 ]: [Info] Adapter 1: ‘Microsoft Basic Render Driver’, DirectX 11
[ 00:00:00.610 ]: [Info] Dedicated Video Memory: 0.0 B, Dedicated System Memory: 0.0 B, Shared System Memory: 7.9 GB, Output(s): 0
[ 00:00:00.610 ]: [Info] Video output ‘\.\DISPLAY1’ 2256x1504 59.998512 Hz
[ 00:00:00.655 ]: [Info] Total graphics memory: 4.07 GB
[ 00:00:00.655 ]: [Info] Graphics Device created! Adapter: ‘Intel(R) Iris(R) Xe Graphics’, Renderer: DirectX 11, Shader Profile: DirectX SM5, Feature Level: SM5

[ 00:00:00.660 ]: [Info] Initialize Windows Manager…
[ 00:00:00.660 ]: [Info] Initialize Scripting…
[ 00:00:00.660 ]: [Info] Mono debugger server at 127.0.0.1:41612
[ 00:00:00.660 ]: [Warning] Win32::GetLastError() = 0xcb
[ 00:00:00.810 ]: [Info] Mono version: 5.20.1 (Visual Studio built mono)
[ 00:00:00.810 ]: [Info] Assembly corlib loaded in 0ms
[ 00:00:00.810 ]: [Info] Caching classes for assembly corlib took 0ms
[ 00:00:01.020 ]: [Info] Caching classes for assembly FlaxEngine took 130ms
[ 00:00:01.020 ]: [Info] Assembly FlaxEngine loaded in 210ms
[ 00:00:01.200 ]: [Info] Using FlaxAPI in Development
[ 00:00:01.214 ]: [Info] Main render task created
[ 00:00:01.214 ]: [Info] Scripting Engine initializated! (time: 554ms)
[ 00:00:01.214 ]: [Info] Initialize Animations…
[ 00:00:01.214 ]: [Info] Initialize Code Editing Manager…
[ 00:00:01.220 ]: [Info] Initialize Viewport Icons Renderer…
[ 00:00:01.220 ]: [Info] Initialize Scripts Builder…
[ 00:00:01.220 ]: [Info] Initialize Physics…
[ 00:00:01.220 ]: [Info] Setup NVIDIA PhysX 4.1.1
[ 00:00:01.220 ]: [Info] Initialize Profiling Tools…
[ 00:00:01.220 ]: [Info] Initialize Editor Analytics…
[ 00:00:01.220 ]: [Info] Editor analytics service is enabled. Curl version: 7.64.1
[ 00:00:01.220 ]: [Info] Initialize Game Cooker…
[ 00:00:01.220 ]: [Info] Initialize Custom Editors Util…
[ 00:00:01.229 ]: [Info] Assembly ‘FlaxEngine’ scanned for custom editors in 9 ms
[ 00:00:01.229 ]: [Info] Initialize Render2D…
[ 00:00:01.229 ]: [Info] Initialize Renderer…
[ 00:00:01.229 ]: [Info] Initialize Scene Manager…
[ 00:00:01.229 ]: [Info] Initialize Terrain Manager…
[ 00:00:01.229 ]: [Info] Initialize Atmosphere Pre Compute…
[ 00:00:01.229 ]: [Info] Initialize Navigation…
[ 00:00:01.229 ]: [Info] Initialize Particle Manager…
[ 00:00:01.229 ]: [Info] Initialize Probes Renderer…
[ 00:00:01.229 ]: [Info] Initialize ShadowsOfMordor Builder…
[ 00:00:01.229 ]: [Info] Initialize CSG Builder…
[ 00:00:01.229 ]: [Info] Initialize Online…
[ 00:00:01.229 ]: [Info] Initialize Streaming…
[ 00:00:01.229 ]: [Info] Initialize Prefab Manager…
[ 00:00:01.229 ]: [Info] Initialize Screen…
[ 00:00:01.229 ]: [Info] Initialize Plugin Manager…
[ 00:00:01.229 ]: [Info] Engine services are ready!
[ 00:00:01.229 ]: [Info] Showing splash screen
[ 00:00:01.249 ]: [Info] Setting up C# Editor…
[ 00:00:01.510 ]: [Info] Loaded project Flax, version 1.3.6228
[ 00:00:01.530 ]: [Info] Loaded project FirstPersonShooter, version 1.0
[ 00:00:01.540 ]: [Info] Register Editor module FlaxEditor.Options.OptionsModule
[ 00:00:01.540 ]: [Info] Register Editor module FlaxEditor.Modules.ProjectCacheModule
[ 00:00:01.540 ]: [Info] Register Editor module FlaxEditor.Modules.SceneModule
[ 00:00:01.540 ]: [Info] Register Editor module FlaxEditor.Modules.WindowsModule
[ 00:00:01.544 ]: [Info] Register Editor module FlaxEditor.Modules.UIModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Content.Thumbnails.ThumbnailsModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.SimulationModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.PrefabsModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.SceneEditingModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.ContentEditingModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.ContentDatabaseModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.ContentImportingModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.SourceCodeEditing.CodeEditingModule
[ 00:00:01.549 ]: [Info] Register Editor module FlaxEditor.Modules.SourceCodeEditing.CodeDocsModule
[ 00:00:01.554 ]: [Info] Register Editor module FlaxEditor.Modules.ProgressReportingModule
[ 00:00:01.554 ]: [Info] Register Editor module FlaxEditor.Modules.ContentFindingModule
[ 00:00:01.554 ]: [Info] Changing editor state from to FlaxEditor.States.LoadingState
[ 00:00:01.560 ]: [Info] Editor init
[ 00:00:01.560 ]: [Info] Options file path: C:\Users\china\AppData\Roaming\Flax\EditorOptions.json
[ 00:00:01.560 ]: [Info] Loading editor options
[ 00:00:01.560 ]: [Error] Missing file ‘C:\Users/china/AppData/Roaming/Flax/EditorOptions.json’
[ 00:00:01.560 ]: [Warning] Missing or invalid editor settings
[ 00:00:02.185 ]: [Info] Project database created in 58 ms. Items count: 232
[ 00:00:02.190 ]: [Info] Previews cache count: 1 (capacity for 225 icons)
[ 00:00:02.190 ]: [Info] Add code editor System Default
[ 00:00:02.190 ]: [Info] Add code editor Visual Studio 2022
[ 00:00:02.190 ]: [Info] Add code editor Visual Studio Code
[ 00:00:02.190 ]: [Info] Add code editor Default
[ 00:00:02.190 ]: [Info] Select code editor Default

[ 00:00:02.210 ]: [Info] Starting scripts compilation…
[ 00:00:02.210 ]: [Info] Command: “D:\Program Files (x86)/Flax/Flax_1.3/Binaries/Tools/Flax.Build.exe” -log -logfile= -build -mutex -buildtargets=FirstPersonShooterEditorTarget -skiptargets=FlaxEditor -platform=Windows -arch=x64 -configuration=Development
[ 00:00:02.529 ]: [Info] Flax.Build 1.0.8096
[ 00:00:03.779 ]: [Info] Building targets…
[ 00:00:03.792 ]: [Info] Missing Android SDK. Cannot build for Android platform.
[ 00:00:03.794 ]: [Info] Missing Linux Toolchain. Cannot build for Linux platform.
[ 00:00:03.817 ]: [Info] Missing MSVC toolset v140 or later (VS 2015 or later C++ build tools). Cannot build for Windows platform.
[ 00:00:03.819 ]: [Info] Building C# only
Building target FirstPersonShooterEditorTarget in Development for Windows x64
[ 00:00:03.828 ]: [Info] Building referenced target Flax
[ 00:00:05.224 ]: [Info] Building for Windows without Vulkan rendering backend (Vulkan SDK is missing)
[ 00:00:07.165 ]: [Info] Found 9 valid and 0 invalid actions in Task Graph cache
[ 00:00:07.167 ]: [Info] Done!
Total time: 00:00:04.6443864
[ 00:00:07.181 ]: [Info] Scripts reloading start
[ 00:00:07.181 ]: [Info] Loading binary modules from build info file C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Binaries/FirstPersonShooterEditorTarget/Windows/x64/Development/FirstPersonShooterEditorTarget.Build.json
[ 00:00:07.181 ]: [Info] Loading binary module FirstPersonShooter
[ 00:00:07.200 ]: [Info] Caching classes for assembly FirstPersonShooter took 0ms
[ 00:00:07.200 ]: [Info] Assembly FirstPersonShooter loaded in 19ms
[ 00:00:07.200 ]: [Info] Assembly ‘FirstPersonShooter’ scanned for custom editors in 0 ms
[ 00:00:07.200 ]: [Info] Scripts reloading end. Total time: 19ms
[ 00:00:07.214 ]: [Info] Editor end init
[ 00:00:07.214 ]: [Info] Changing editor state from FlaxEditor.States.LoadingState to FlaxEditor.States.EditingSceneState
[ 00:00:07.650 ]: [Info] Loading editor windows layout from ‘C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Cache/WindowsLayout.xml’
[ 00:00:07.704 ]: [Info] Closing splash screen
[ 00:00:07.706 ]: [Info] Loading last opened scene
[ 00:00:07.707 ]: [Info] Changing editor state from FlaxEditor.States.EditingSceneState to FlaxEditor.States.ChangingScenesState
[ 00:00:07.713 ]: [Info] Loading scene…
[ 00:00:07.713 ]: [Info] Loading 1 lightmap(s)
[ 00:00:07.789 ]: [Info] Created graph for scene ‘Main’ in 8 ms
[ 00:00:07.789 ]: [Info] Changing editor state from FlaxEditor.States.ChangingScenesState to FlaxEditor.States.EditingSceneState
[ 00:00:07.789 ]: [Info] Scene loaded in 76 ms
[ 00:00:07.840 ]: [Info] Starting Atmosphere Pre Compute service
[ 00:00:17.850 ]: [Info] Command: C:\Users\china\Documents\Flax Projects\FlaxSamples\FirstPersonShooterTemplate
[ 00:00:30.056 ]: [Info] Thread ‘Game Cooker’ ID=0x32e4 started with priority Highest
[ 00:00:30.056 ]: [Info] Starting Game Cooker…
[ 00:00:30.056 ]: [Info] Platform: Windows x64, Configuration: Release, Options: 1
[ 00:00:30.056 ]: [Info] Output Path: C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Output/Windows
[ 00:00:30.063 ]: [Info] Starting scripts compilation for game…
[ 00:00:30.063 ]: [Info] Command: “D:\Program Files (x86)/Flax/Flax_1.3/Binaries/Tools/Flax.Build.exe” -log -logfile=“C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Cache/Cooker/Windows/CompileLog.txt” -build -mutex -buildtargets=FirstPersonShooterTarget -platform=Windows -arch=x64 -configuration=Release
[ 00:00:30.109 ]: [Info] Flax.Build 1.0.8096
[ 00:00:30.875 ]: [Info] Building targets…
[ 00:00:30.889 ]: [Info] Missing Android SDK. Cannot build for Android platform.
[ 00:00:30.891 ]: [Info] Missing Linux Toolchain. Cannot build for Linux platform.
[ 00:00:30.914 ]: [Info] Missing MSVC toolset v140 or later (VS 2015 or later C++ build tools). Cannot build for Windows platform.
[ 00:00:30.915 ]: [Info] Building C# only
Building target FirstPersonShooterTarget in Release for Windows x64
[ 00:00:30.925 ]: [Info] Building referenced target Flax
[ 00:00:31.833 ]: [Info] Building for Windows without Vulkan rendering backend (Vulkan SDK is missing)
[ 00:00:32.609 ]: [Info] Found 9 valid and 0 invalid actions in Task Graph cache
[ 00:00:32.610 ]: [Info] Done!
Total time: 00:00:02.5076702
[ 00:00:32.618 ]: [Info] Deploying binaries from build C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Binaries/FirstPersonShooterTarget/Windows/x64/Release/FirstPersonShooterTarget.Build.json
[ 00:00:32.618 ]: [Info] Deploying binaries from build D:\Program Files (x86)/Flax/Flax_1.3/Source/Platforms/Windows/Binaries/Game/x64/Release/FlaxGame.Build.json
[ 00:00:32.622 ]: [Info] Collecting binary module FlaxEngine
[ 00:00:32.877 ]: [Info] Collecting binary module FirstPersonShooter

00:00:33.484 : [Error] Critical error! Reason: Unhandled exception: EXCEPTION_ACCESS_VIOLATION reading address 0x2009ffe0
00:00:33.484 : [Error]
[ 00:00:33.486 ]: [Info] Editor exit
[ 00:00:33.486 ]: [Info] Changing editor state from FlaxEditor.States.EditingSceneState to FlaxEditor.States.ClosingState
[ 00:00:33.488 ]: [Info] Select code editor null
[ 00:00:33.493 ]: [Info] Main window is closing, reason: EngineExit
[ 00:00:33.496 ]: [Info] Main window is closed
[ 00:00:33.496 ]: [Info] Capture project icon screenshot
[ 00:00:33.706 ]: [Error] Stack trace:
[ 00:00:33.706 ]: [Error] at VCRUNTIME140.dll 0x7ffe26851470
[ 00:00:33.706 ]: [Error] at FlaxEditor.exe!GPUTextureDX11::GetData() in F:\FlaxEngine\Source\Engine\GraphicsDevice\DirectX\DX11\GPUTextureDX11.cpp:line 598
[ 00:00:33.706 ]: [Error] at FlaxEditor.exe!GPUTexture::DownloadData() in F:\FlaxEngine\Source\Engine\Graphics\Textures\GPUTexture.cpp:line 714
[ 00:00:33.706 ]: [Error] at FlaxEditor.exe!Task::Execute() in F:\FlaxEngine\Source\Engine\Threading\Task.cpp:line 148
[ 00:00:33.706 ]: [Error] at FlaxEditor.exe!ThreadPool::ThreadProc() in F:\FlaxEngine\Source\Engine\Threading\ThreadPool.cpp:line 114
[ 00:00:33.706 ]: [Error] at FlaxEditor.exe!ThreadBase::Run() in F:\FlaxEngine\Source\Engine\Platform\Base\ThreadBase.cpp:line 94
[ 00:00:33.706 ]: [Error] at FlaxEditor.exe!Win32Thread::ThreadProc() in F:\FlaxEngine\Source\Engine\Platform\Win32\Win32Thread.cpp:line 103
[ 00:00:33.706 ]: [Error] at KERNEL32.DLL 0x7ffe3d667034
[ 00:00:33.706 ]: [Error] at ntdll.dll 0x7ffe3e662651
[ 00:00:33.706 ]: [Error]
[ 00:00:33.706 ]: [Error] Used Physical Memory: 5.84 GB (36%)
[ 00:00:33.706 ]: [Error] Used Virtual Memory: 5.18 GB (0%)
[ 00:00:33.706 ]: [Error] Process Used Physical Memory: 459.18 MB
[ 00:00:33.706 ]: [Error] Process Used Virtual Memory: 736.08 MB
[ 00:00:33.706 ]: [Error] Creating Mini Dump to C:\Users/china/Documents/Flax Projects/FlaxSamples/FirstPersonShooterTemplate/Logs/Crash_2022_04_05_14_54_07/Minidump.dmp
[ 00:00:33.904 ]: [Error]

It looks like an issue with D3D11 Driver probably. You can try Flax with D3D12 by passing -d3d12 flag to the command line (or -vulkan to use Vulkan graphics API).

thank you very much . but i don’t know how to do it .

when run :
start /w FlaxEditor.exe -std -d3d12 -project “C:\Users\china\Documents\Flax Projects\FlaxSamples\BasicTemplate”
there is another wrong . maybe i will get another computer