Upgrade project to Unity ECS 2025 (v1.3.2)#11
Open
kstars111 wants to merge 1 commit intoElliotB256:masterfrom
Open
Upgrade project to Unity ECS 2025 (v1.3.2)#11kstars111 wants to merge 1 commit intoElliotB256:masterfrom
kstars111 wants to merge 1 commit intoElliotB256:masterfrom
Conversation
Major migration from ECS 0.17.0-preview.42 to ECS 1.3.2, updating all deprecated APIs and patterns to modern ECS 2025 standards. Package Updates: - com.unity.entities: 0.17.0-preview.42 → 1.3.2 - com.unity.burst: 1.4.11 → 1.8.12 - com.unity.rendering.hybrid → com.unity.entities.graphics: 1.3.2 - Removed com.unity.dots.editor (deprecated) Conversion System Migration (39 files): - Migrated all IConvertGameObjectToEntity to Baker<T> pattern - Replaced GameObjectConversionSystem with Baker.Bake() method - Updated entity retrieval to use GetEntity(TransformUsageFlags.None) - Converted EntityManager.AddComponentData() to Baker.AddComponent() - Converted EntityManager.AddBuffer() to Baker.AddBuffer() System API Updates (25+ files): - Replaced GetComponentDataFromEntity<T>() with SystemAPI.GetComponent<T>() - Replaced GetBufferFromEntity<T>() with GetBufferLookup<T>() - Updated component writes to use SystemAPI.SetComponent() or SystemAPI.GetComponentRW<T>() - Migrated BufferFromEntity to BufferLookup in IJob structs System Architecture Updates: - Migrated ComponentSystem to SystemBase (3 files) - Added .Run() to Entities.ForEach blocks in migrated systems - Updated World.GetOrCreateSystem<T>() to World.GetOrCreateSystemManaged<T>() (19 files) - Removed deprecated [AlwaysUpdateSystem] attribute (6 files) Namespace Updates (11 files): - Changed using Unity.Rendering to using Unity.Entities.Graphics Transform System Updates: - Updated Translation/Rotation/Scale to LocalTransform.FromPositionRotationScale() - Modernized transform component usage in effect systems Rendering Updates: - Migrated RenderMesh to RenderMeshUtility.AddComponents() in Bakers - Updated rendering setup to use RenderMeshDescription and MaterialMeshInfo All systems now compile with ECS 2025 and follow modern DOTS patterns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major migration from ECS 0.17.0-preview.42 to ECS 1.3.2, updating all deprecated APIs and patterns to modern ECS 2025 standards.
Package Updates:
Conversion System Migration (39 files):
System API Updates (25+ files):
System Architecture Updates:
Namespace Updates (11 files):
Transform System Updates:
Rendering Updates:
All systems now compile with ECS 2025 and follow modern DOTS patterns.