Commit Graph

68 Commits

Author SHA1 Message Date
Wojtek Figat
1042ad4e7d Fix object ids remapping inside nested prefabs
#3255
2025-09-02 21:41:36 +02:00
Chandler Cox
4649298605 Dont allow setting prefab root name from scene instance. 2025-05-23 14:06:21 -05:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
dad8c0cd6b Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Level/Prefabs/Prefab.Apply.cpp
2025-02-27 17:17:02 +01:00
Wojtek Figat
2d956ebb36 Fix error when applying prefab changes with missing (deleted) nested prefabs
#3244
2025-02-26 17:46:22 +01:00
Wojtek Figat
2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
Wojtek Figat
366b47ad80 Fix crash when applying prefab with missing scripts in use
#3239
2025-02-20 23:50:36 +01:00
Wojtek Figat
7d0804af91 Add content deprecation upgrades support to prefabs and scenes when loading levels 2025-01-20 23:53:13 +01:00
Wojtek Figat
18fd68db25 Add SpawnOptions container for more robust prefabs spawning 2025-01-20 23:50:47 +01:00
Wojtek Figat
1497acef58 SImplify capacity presetting for Dictionary to handle memory slack scale internally as suers care about items count only 2025-01-16 17:42:01 +01:00
Wojtek Figat
ab78314a01 Revert part of 9870d162e4 to support prefab variants creation 2024-11-25 22:39:02 +01:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
87b0cc705e Add logging missing object reference context when spawning prefab
#2414
2024-09-19 10:49:26 +02:00
Wojtek Figat
c4c25fc21f Optimize SceneObjectsFactory::SynchronizeNewPrefabInstances when loading large scenes 2024-08-16 14:49:43 +02:00
8c2e7bccaa Delete Prefab default instance when scripting unloads 2024-04-23 22:14:06 +03:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
e0a085adfe Add support for loading prefab instance if the root was changed or deleted
#2050
2023-12-14 10:47:22 +01:00
Wojtek Figat
1874382816 Various fixes to prefabs 2023-12-13 11:05:29 +01:00
Menotdan
b1cbaf7e13 Fix default prefab instance not taking into account root position. 2023-12-08 15:46:09 -05:00
Wojtek Figat
4a3be5a743 Fix crash when updating prefabs from async thread 2023-12-06 00:30:37 +01:00
Wojtek Figat
3e940c28df Refactor prefab's objectsCache to be explicitly SceneObject values 2023-12-04 13:56:36 +01:00
Wojtek Figat
bec878cc11 Fix crashes in various dictionary usages caused by duplicated keys
#1925 #1924
2023-11-16 15:47:42 +01:00
Wojtek Figat
56c9429e25 Fix spawning prefab without transform provided
#1831
2023-10-29 02:57:59 +02:00
Wojtek Figat
e4b89e1bad Fix plugins initialization order to properly unload scenes before them in cooked game 2023-10-14 16:20:27 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
9870d162e4 Fix creating prefabs directly from prefab objects
#1432
2023-10-06 10:07:57 +02:00
Wojtek Figat
d71c171412 Cleanup code in #1367 and fix api compatibility, revert joint changes 2023-09-28 13:10:58 +02:00
Wojtek Figat
3b94792f2e Merge branch 'BugFixes' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-BugFixes
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2023-09-28 12:28:19 +02:00
Wojtek Figat
716e643f2a Fix applying prefab changes to nesting prefab instances
#1256
2023-09-10 21:07:41 +02:00
Wojtek Figat
fa77a52a2c Fix prefab apply bug when one of the prefabs in project is broken 2023-08-27 20:08:27 +02:00
NoriteSC
6ab2e540a3 Bug Fixes
script and actors not having connect transform in on awake and in on start

join auto anchor having wrong anchor because was including scale

fixed selection do to changes to transform accessibility ?
2023-08-25 14:51:49 +02:00
Wojtek Figat
f1c98320fc Refactor vehicles to use Z axis as forward instead of X
#1050
2023-06-13 14:56:03 +02:00
Wojtek Figat
958c7b2181 Fix spawning nested prefab with different root actor
#1138
2023-06-11 20:43:31 +02:00
Wojtek Figat
b299ed3246 Add more assertions to tests build 2023-06-09 23:34:55 +02:00
Wojtek Figat
7c55d50507 Various minor code cleanup tweaks 2023-06-09 23:26:37 +02:00
Wojtek Figat
d798b10d4c Remove unlogical PrefabManager::IsNotCreatingPrefab (use IsCreatingPrefab flag) 2023-06-09 22:49:19 +02:00
Wojtek Figat
0c3d1e3ec6 Fix existing nested prefabs sync applying when updating base prefab changes
#1015
2023-05-07 18:12:06 +02: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
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
1ef8bb723c Fix reparenting inside the nested prefabs when using multiple instanced of the nested prefab in PrefabManager
#690
2022-07-27 09:33:01 +02:00
Wojtek Figat
cced83ca96 Add support for virtual Prefab assets created from code 2022-07-26 23:10:04 +02:00
Wojtek Figat
adaaaa3e3f Fix crash when spawning prefab without scenes loaded 2022-07-26 23:10:03 +02:00
Wojtek Figat
ff1fba403d Various fixes to allow compiling negine with custom build configurations 2022-07-26 23:10:01 +02:00
Wojtek Figat
8beb732cb9 Fix duplicated actors after reparenting actor in Prefab
#718
2022-07-26 23:10:00 +02:00
Wojtek Figat
3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
8f51c7689f Fix missing object linkage when loading missing prefab objects during scene load 2021-12-13 17:32:02 +01:00
Wojciech Figat
793bb502f5 Fix prefab changes apply crash
#305
2021-12-13 17:31:58 +01:00
Wojtek Figat
b0ca1cc652 Fix crash when applying prefab that includes both removed and added objects 2021-11-04 16:00:02 +01:00
Wojtek Figat
4c1dbb7f8e Refactor prefab instances loading to improve refs loading between prefab objects 2021-08-19 13:06:17 +02:00