After using the Game Cooker,dinamically created models don’t appear in the stand-alone game.
The log:
[ 01:10:44.633 ]: [Info] Starting Game Cooker…
[ 01:10:44.633 ]: [Info] Platform: Windows x64, Configuration: Release, Options: 1
[ 01:10:44.633 ]: [Info] Output Path: D:\Flax1.3Projects/MyProject3/Output/Windows
[ 01:10:44.637 ]: [Info] Starting scripts compilation for game…
[ 01:10:44.637 ]: [Info] Command: “C:\Program Files (x86)/Flax/Flax_1.3/Binaries/Tools/Flax.Build.exe” -log -logfile=“D:\Flax1.3Projects/MyProject3/Cache/Cooker/Windows/CompileLog.txt” -build -mutex -buildtargets=GameTarget -platform=Windows -arch=x64 -configuration=Release
[ 01:10:44.684 ]: [Info] Flax.Build 1.0.8096
[ 01:10:45.140 ]: [Info] Building targets…
[ 01:10:45.150 ]: [Info] Missing Android SDK. Cannot build for Android platform.
[ 01:10:45.152 ]: [Info] Missing Linux Toolchain. Cannot build for Linux platform.
[ 01:10:45.157 ]: [Info] Unknown Windows 10 SDK version 10.0.20348.0 at C:\Program Files (x86)\Windows Kits\10
[ 01:10:45.182 ]: [Info] Building target GameTarget in Release for Windows x64
[ 01:10:45.194 ]: [Info] Using Windows Toolset v143 (C:\Program Files (x86)\Windows Kits\10)
Using Windows SDK 10.0.19041.0 (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64)
[ 01:10:45.196 ]: [Info] Building referenced target Flax
[ 01:10:45.969 ]: [Info] Building for Windows without Vulkan rendering backend (Vulkan SDK is missing)
[ 01:10:46.667 ]: [Info] Found 51 valid and 0 invalid actions in Task Graph cache
[ 01:10:46.669 ]: [Info] Done!
Total time: 00:00:01.9888869
[ 01:10:46.675 ]: [Info] Deploying binaries from build D:\Flax1.3Projects/MyProject3/Binaries/GameTarget/Windows/x64/Release/GameTarget.Build.json
[ 01:10:46.675 ]: [Info] Deploying binaries from build C:\Program Files (x86)/Flax/Flax_1.3/Source/Platforms/Windows/Binaries/Game/x64/Release/FlaxGame.Build.json
[ 01:10:46.675 ]: [Info] Collecting binary module FlaxEngine
[ 01:10:46.685 ]: [Info] Collecting binary module Game
[ 01:10:47.242 ]: [Info] Searching for assets to include in a build. Using 50 root assets.
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/PostProcessing.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/GUI.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/DebugDraw.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Histogram.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/DefaultLensDirt.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/DefaultLensStarburst.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/PreIntegratedGF.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Cross.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/MotionBlur.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/EyeAdaptation.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/GPUParticlesSorting.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Lights.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/SSAO.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Sky.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/DefaultMaterial.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/DepthOfField.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/SphereLowPoly.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Fog.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/VolumetricFog.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/ColorGrading.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Quad.flax
[ 01:10:47.243 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/SkyboxMaterial.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/Quad.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Shadows.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/SMAA_AreaTex.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/FXAA.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Octagon.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Logo.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Forward.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/SMAA.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/BitonicSort.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/MultiScaler.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/NormalTexture.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Circle.flax
[ 01:10:47.247 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/DefaultDeformableMaterial.flax
[ 01:10:47.248 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/BlackTexture.flax
[ 01:10:47.248 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/GameSettings.json
[ 01:10:47.248 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/SSR.flax
[ 01:10:47.248 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Hexagon.flax
[ 01:10:47.248 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/Box.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/SimpleBox.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/DefaultTerrainMaterial.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/TAA.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Reflections.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/GBuffer.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/DefaultLensColor.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/SMAA_SearchTex.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/AtmospherePreCompute.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/Sphere.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/WhiteTexture.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Tiles_N.flax
[ 01:10:47.250 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Tiles_M.flax
[ 01:10:47.250 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Scene.scene
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Time Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Audio Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Layers And Tags Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Physics Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Input Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Graphics Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Navigation Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Localization Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Build Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Streaming Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Windows Settings.json
[ 01:10:47.252 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/UWP Settings.json
[ 01:10:47.254 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Linux Settings.json
[ 01:10:47.256 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Android Settings.json
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/Lightmaps/Lightmap00-0.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/Lightmaps/Lightmap00-1.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/Lightmaps/Lightmap00-2.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/CSG_Mesh.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/CSG_Data.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/CSG_Collision.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/EnvProbes/da5e1c454a56377517d41686ebb0348f.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/SkyLights/eb18e84d41670d6314174b89a1d5ffea.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Materials/White Material.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Materials/Blue Material.flax
[ 01:10:47.258 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Editor/Primitives/Cube.flax
[ 01:10:47.258 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/MiaTerra.flax
[ 01:10:47.260 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/LaMiaTerraObj.flax
[ 01:10:47.262 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Materials/Solid Color Material.flax
[ 01:10:47.262 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/MiaTerra/TerraMaterial.flax
[ 01:10:47.262 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/LaMiaTerraObj/LaMiaTerraMaterialObj.flax
[ 01:10:47.262 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/MiaTerra/earth.flax
[ 01:10:47.262 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/LaMiaTerraObj/earth.flax
[ 01:10:47.262 ]: [Info] Found 85 assets to deploy!
[ 01:10:47.262 ]: [Info] Loading incremental build cooking cache (entries count: 87)
[ 01:10:47.265 ]: [Info] Saving incremental build cooking cache (entries count: 87)
[ 01:10:47.294 ]: [Info] Creating package at ‘D:\Flax1.3Projects/MyProject3/Output/Windows/Content/Data_0.flaxpac’. Silent Mode: false
[ 01:10:47.341 ]: [Info] Saving assets cache to ‘D:\Flax1.3Projects/MyProject3/Output/Windows/Content/AssetsCache.dat’, entries: 85
[ 01:10:47.341 ]: [Info] Cooked 0 assets, total assets: 85, total content packages size: 44 MB
[ 01:10:47.341 ]: [Info]
[ 01:10:47.342 ]: [Info] Top assets types stats:
[ 01:10:47.342 ]: [Info] FlaxEngine.Texture : 21 assets of total size 41.910000000000004 MB
[ 01:10:47.342 ]: [Info] FlaxEngine.CubeTexture : 2 assets of total size 1.0 MB
[ 01:10:47.342 ]: [Info] FlaxEngine.Model : 9 assets of total size 899.85 KB
[ 01:10:47.342 ]: [Info] FlaxEngine.Shader : 26 assets of total size 692.58 KB
[ 01:10:47.342 ]: [Info] FlaxEngine.Material : 7 assets of total size 116.48 KB
[ 01:10:47.342 ]: [Info] FlaxEngine.SceneAsset : 1 assets of total size 3.41 KB
[ 01:10:47.342 ]: [Info] FlaxEngine.RawDataAsset : 1 assets of total size 1.35 KB
[ 01:10:47.342 ]: [Info] FlaxEditor.Content.Settings.GameSettings: 1 assets of total size 1.27 KB
[ 01:10:47.342 ]: [Info] FlaxEngine.CollisionData : 1 assets of total size 1.11 KB
[ 01:10:47.342 ]: [Info] FlaxEngine.MaterialInstance : 2 assets of total size 1.05 KB
[ 01:10:47.342 ]: [Info]
[ 01:10:47.342 ]: [Info] Game building done!
[ 01:10:47.342 ]: [Info] Command: D:\Flax1.3Projects/MyProject3/Output/Windows
Could you post log from cooked game with those models missing? Here are docs about it: Platforms | Flax Documentation
Maybe the log will tell what’s missing (probably some asset - maybe you load them via absolute path?).
Hi.
There is no crash with cooker and i don’t find the log file for the cooked game.
And yes,i use absolute path for loading.
The assets are loaded from project Content.
Anyway i have copied from the Output Log:
[ 00:12:40.660 ]: [Info] Starting Game Cooker…
[ 00:12:40.660 ]: [Info] Platform: Windows x64, Configuration: Release, Options: 1
[ 00:12:40.660 ]: [Info] Output Path: D:\Flax1.3Projects/MyProject3/Output/Windows
[ 00:12:40.664 ]: [Info] Starting scripts compilation for game…
[ 00:12:40.664 ]: [Info] Command: “C:\Program Files (x86)/Flax/Flax_1.3/Binaries/Tools/Flax.Build.exe” -log -logfile=“D:\Flax1.3Projects/MyProject3/Cache/Cooker/Windows/CompileLog.txt” -build -mutex -buildtargets=GameTarget -platform=Windows -arch=x64 -configuration=Release
[ 00:12:40.708 ]: [Info] Flax.Build 1.0.8096
[ 00:12:41.122 ]: [Info] Building targets…
[ 00:12:41.135 ]: [Info] Missing Android SDK. Cannot build for Android platform.
[ 00:12:41.138 ]: [Info] Missing Linux Toolchain. Cannot build for Linux platform.
[ 00:12:41.142 ]: [Info] Unknown Windows 10 SDK version 10.0.20348.0 at C:\Program Files (x86)\Windows Kits\10
[ 00:12:41.170 ]: [Info] Building target GameTarget in Release for Windows x64
[ 00:12:41.179 ]: [Info] Using Windows Toolset v143 (C:\Program Files (x86)\Windows Kits\10)
Using Windows SDK 10.0.19041.0 (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64)
[ 00:12:41.183 ]: [Info] Building referenced target Flax
[ 00:12:41.946 ]: [Info] Building for Windows without Vulkan rendering backend (Vulkan SDK is missing)
[ 00:12:42.641 ]: [Info] Found 35 valid and 0 invalid actions in Task Graph cache
[ 00:12:42.642 ]: [Info] Done!
Total time: 00:00:01.9392661
[ 00:12:42.648 ]: [Info] Deploying binaries from build D:\Flax1.3Projects/MyProject3/Binaries/GameTarget/Windows/x64/Release/GameTarget.Build.json
[ 00:12:42.648 ]: [Info] Deploying binaries from build C:\Program Files (x86)/Flax/Flax_1.3/Source/Platforms/Windows/Binaries/Game/x64/Release/FlaxGame.Build.json
[ 00:12:42.648 ]: [Info] Collecting binary module FlaxEngine
[ 00:12:42.664 ]: [Info] Collecting binary module Game
[ 00:12:43.219 ]: [Info] Searching for assets to include in a build. Using 50 root assets.
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/PostProcessing.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/GUI.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/DebugDraw.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Histogram.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/DefaultLensDirt.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/DefaultLensStarburst.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/PreIntegratedGF.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Cross.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/MotionBlur.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/EyeAdaptation.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/GPUParticlesSorting.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Lights.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/SSAO.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Sky.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/DefaultMaterial.flax
[ 00:12:43.219 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/DepthOfField.flax
[ 00:12:43.220 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/SphereLowPoly.flax
[ 00:12:43.220 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Fog.flax
[ 00:12:43.220 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/VolumetricFog.flax
[ 00:12:43.220 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/ColorGrading.flax
[ 00:12:43.220 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Quad.flax
[ 00:12:43.220 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/SkyboxMaterial.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/Quad.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Shadows.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/SMAA_AreaTex.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/FXAA.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Octagon.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Logo.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Forward.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/SMAA.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/BitonicSort.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/MultiScaler.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/NormalTexture.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Circle.flax
[ 00:12:43.223 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/DefaultDeformableMaterial.flax
[ 00:12:43.224 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/BlackTexture.flax
[ 00:12:43.224 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/GameSettings.json
[ 00:12:43.224 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/SSR.flax
[ 00:12:43.224 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Bokeh/Hexagon.flax
[ 00:12:43.224 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/Box.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/SimpleBox.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/DefaultTerrainMaterial.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/TAA.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/Reflections.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/GBuffer.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/DefaultLensColor.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/SMAA_SearchTex.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Shaders/AtmospherePreCompute.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Models/Sphere.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/WhiteTexture.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Tiles_N.flax
[ 00:12:43.226 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Engine/Textures/Tiles_M.flax
[ 00:12:43.226 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Scene.scene
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Time Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Audio Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Layers And Tags Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Physics Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Input Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Graphics Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Navigation Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Localization Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Build Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Streaming Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Windows Settings.json
[ 00:12:43.228 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/UWP Settings.json
[ 00:12:43.230 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Linux Settings.json
[ 00:12:43.232 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Settings/Android Settings.json
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/Lightmaps/Lightmap00-0.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/Lightmaps/Lightmap00-1.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/Lightmaps/Lightmap00-2.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/CSG_Mesh.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/CSG_Data.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/CSG_Collision.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/EnvProbes/da5e1c454a56377517d41686ebb0348f.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/SceneData/Scene/SkyLights/eb18e84d41670d6314174b89a1d5ffea.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Materials/White Material.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Materials/Blue Material.flax
[ 00:12:43.233 ]: [Info] C:\Program Files (x86)/Flax/Flax_1.3/Content/Editor/Primitives/Cube.flax
[ 00:12:43.233 ]: [Info] D:\Flax1.3Projects/MyProject3/Content/Materials/Solid Color Material.flax
[ 00:12:43.233 ]: [Info] Found 79 assets to deploy!
[ 00:12:43.233 ]: [Info] Loading incremental build cooking cache (entries count: 87)
[ 00:12:43.235 ]: [Info] Saving incremental build cooking cache (entries count: 87)
[ 00:12:43.259 ]: [Info] Creating package at ‘D:\Flax1.3Projects/MyProject3/Output/Windows/Content/Data_0.flaxpac’. Silent Mode: false
[ 00:12:43.299 ]: [Info] Saving assets cache to ‘D:\Flax1.3Projects/MyProject3/Output/Windows/Content/AssetsCache.dat’, entries: 79
[ 00:12:43.299 ]: [Info] Cooked 0 assets, total assets: 79, total content packages size: 41 MB
[ 00:12:43.299 ]: [Info]
[ 00:12:43.299 ]: [Info] Top assets types stats:
[ 00:12:43.299 ]: [Info] FlaxEngine.Texture : 19 assets of total size 39.24 MB
[ 00:12:43.299 ]: [Info] FlaxEngine.CubeTexture : 2 assets of total size 1.0 MB
[ 00:12:43.299 ]: [Info] FlaxEngine.Shader : 26 assets of total size 692.58 KB
[ 00:12:43.299 ]: [Info] FlaxEngine.Model : 7 assets of total size 119.7 KB
[ 00:12:43.299 ]: [Info] FlaxEngine.Material : 5 assets of total size 77.92 KB
[ 00:12:43.299 ]: [Info] FlaxEngine.SceneAsset : 1 assets of total size 2.96 KB
[ 00:12:43.300 ]: [Info] FlaxEngine.RawDataAsset : 1 assets of total size 1.35 KB
[ 00:12:43.300 ]: [Info] FlaxEditor.Content.Settings.GameSettings: 1 assets of total size 1.27 KB
[ 00:12:43.300 ]: [Info] FlaxEngine.CollisionData : 1 assets of total size 1.11 KB
[ 00:12:43.300 ]: [Info] FlaxEngine.MaterialInstance : 2 assets of total size 1.05 KB
[ 00:12:43.300 ]: [Info]
[ 00:12:43.300 ]: [Info] Game building done!
[ 00:12:43.300 ]: [Info] Command: D:\Flax1.3Projects/MyProject3/Output/Windows
Hi ! Is there a way to load model via relative path?
You can sth like this:
FlaxEngine.Content.Load<Texture>(Path.Combine(Globals.ProjectContentFolder, "asset.flax"));
where you specify asset type and the path relative to the project Content folder - in this case asset.flax
is file inside Content folder.