Commit Graph

63 Commits

Author SHA1 Message Date
Wojtek Figat
d84cef0c18 Fix crash due to async content data streaming
Properly checks for asset data unloading before taking lock on asset chunks.
#3358 #3085 #3515
2025-11-09 22:15:41 +01:00
Wojtek Figat
f8dbf363b6 Fix crash on Android when loading mesh with SDF data 2025-10-07 18:09:18 +02:00
Wojtek Figat
7fcf6f9c97 Add various improvements 2025-08-11 23:47:48 +02:00
Wojtek Figat
cd637e8a7a Add more memory profiling coverage 2025-06-06 14:38:22 +02:00
Wojtek Figat
f462a2187f Merge branch 'master' into 1.11 2025-06-05 18:03:17 +02:00
Wojtek Figat
8f49a492d8 Fix duplicating json assets to properly remap object IDs
#3441
2025-06-04 23:49:19 +02:00
Wojtek Figat
c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
af416fe0c8 Fix packaging issues to properly read asset data after it's serialized with a new format 2025-01-22 21:24:49 +01:00
Wojtek Figat
326bc498b8 Add more logging for cooking process 2025-01-22 00:01:25 +01:00
Wojtek Figat
668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +01:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
45e83d6d15 Add feedback from PVS (static code analyzer)
https://pvs-studio.com/en/blog/posts/cpp/1153/
2024-08-15 13:01:40 +02:00
Wojtek Figat
fbd3b9372b Fix crash when reading invalid data from file 2024-08-12 15:35:02 +02:00
Wojtek Figat
97ab8940f0 Fix bug with missing baked SDF data on save when asset data chunk memory was freed by GC 2024-08-10 20:45:59 +02:00
Wojtek Figat
cfc9f73744 Fix deadlock between content storage and asset that is being updated during load
#2621
2024-05-20 14:22:03 +02:00
Wojtek Figat
58f95d6ce3 Simplify 6f2bd0e932 2024-05-15 23:49:46 +02:00
Wojtek Figat
6f2bd0e932 Another attempt on 6a883bc7c6 2024-05-15 11:22:07 +02:00
Wojtek Figat
6a883bc7c6 Revert file handles bug 2024-05-14 09:03:52 +02:00
Wojtek Figat
44006dd533 Various code improvements 2024-05-09 18:59:09 +02:00
Wojtek Figat
b92fbcb3bc Add more const correctness
#2467
2024-04-22 22:53:27 +02:00
Wojtek Figat
6b35c0a161 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-03-19 20:23:34 +01:00
Wojtek Figat
fc29d687b5 Add more insights on potentially missing asset file data chunks 2024-03-12 13:25:25 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
080202cf95 Fix crash when storage file gets deleted due to missing ref from async thread which failed to load it 2024-02-09 15:52:53 +01:00
Wojtek Figat
da1b2f0c07 Fix crash when file handle was null 2024-02-09 15:37:42 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
10bed94357 Refactor engine systems to use platform time seconds rather than date time 2024-01-28 22:15:34 +01:00
Wojtek Figat
4a8c94e9d4 Fix missing asset update when dependant asset gets saved in Editor
#1489
2023-12-27 20:57:37 +01:00
Wojtek Figat
df8418da25 Add more profiling events 2023-12-14 17:00:55 +01:00
Wojtek Figat
3749b35aba Fix crash in Content Storage async job when someone is using file storage and access cannot be freed 2023-12-07 11:18:18 +01:00
Wojtek Figat
1843689a88 Add various profiler events to analyze models importing workflow 2023-12-03 11:23:45 +01:00
Wojtek Figat
d5075d845c Fix content storage usage with relative paths
#1966
2023-11-23 17:37:55 +01:00
Wojtek Figat
4ae57e7769 Fix issue with asset loading to be properly canceled when reimporting file
#1894
2023-11-09 14:52:28 +01:00
Wojtek Figat
c9254457a9 Code style tweaks 2023-07-24 16:24:39 +02:00
Wojtek Figat
a3ab7cd14e Fix file lock when loading asset fails
#1103
2023-05-16 11:52:49 +02:00
Wojtek Figat
ec8df18ee4 Remove not important warning 2023-02-17 02:17:25 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Preben Eriksen
1d9f5e8cfe PE: Fixed - flax storage crash , happened quit often on my system. 2022-10-31 16:07:43 +01:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
0b15c369d6 Fix FlaxStorage refs counting to be atomic 2022-08-16 12:36:44 +02:00
Wojciech Figat
3dbff3cab7 Fix crash when closing handles to asset file while any asset streaming task is active for asset from that file 2022-07-18 13:02:34 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
892723c501 Fix build 2022-01-09 17:46:37 +01:00