From e73878024f49e8d34fcd678815e176bd0409b64d Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 7 Mar 2021 21:03:09 -0600 Subject: [PATCH] Version 0.3.1 Release [Bugfix] Bugfix release --- CHANGELOG.md | 8 +++++++ Core/Core.Editor/Latios.Core.Editor.asmdef | 23 ++----------------- ...bjectConversionConfigurationSystemGroup.cs | 4 ++++ .../EntityOperationCommandBuffer.cs | 4 +++- .../InstantiateCommandBufferUntyped.cs | 4 +++- Documentation~/Core/CHANGELOG.md | 10 ++++++++ package.json | 2 +- 7 files changed, 31 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a74b834..f510d7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.3.1] – 2021-3-7 + +Officially supports Entities [0.17.0] + +### Changed + +- Updated Core to v0.3.1 + ## [0.3.0] – 2021-3-4 Officially supports Entities [0.17.0] diff --git a/Core/Core.Editor/Latios.Core.Editor.asmdef b/Core/Core.Editor/Latios.Core.Editor.asmdef index a3cd6da..72d3338 100644 --- a/Core/Core.Editor/Latios.Core.Editor.asmdef +++ b/Core/Core.Editor/Latios.Core.Editor.asmdef @@ -8,27 +8,8 @@ ], "excludePlatforms": [], "allowUnsafeCode": false, - "overrideReferences": true, - "precompiledReferences": [ - "Microsoft.CodeAnalysis.CSharp.dll", - "Microsoft.CodeAnalysis.CSharp.Workspaces.dll", - "Microsoft.CodeAnalysis.CSharp.Scripting.dll", - "Microsoft.CodeAnalysis.dll", - "Microsoft.CodeAnalysis.Scripting.dll", - "Microsoft.CodeAnalysis.Workspaces.dll", - "System.Collections.Immutable.dll", - "System.Composition.AttributedModel.dll", - "System.Composition.Convention.dll", - "System.Composition.Hosting.dll", - "System.Composition.Runtime.dll", - "System.Composition.TypedParts.dll", - "System.Reflection.Metadata.dll", - "System.Runtime.Loader.dll", - "Mono.Cecil.dll", - "Mono.Cecil.Mdb.dll", - "Mono.Cecil.Pdb.dll", - "Mono.Cecil.Rocks.dll" - ], + "overrideReferences": false, + "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [], "versionDefines": [], diff --git a/Core/Core/Authoring/GameObjectConversionConfigurationSystemGroup.cs b/Core/Core/Authoring/GameObjectConversionConfigurationSystemGroup.cs index aa0501b..ba5f56a 100644 --- a/Core/Core/Authoring/GameObjectConversionConfigurationSystemGroup.cs +++ b/Core/Core/Authoring/GameObjectConversionConfigurationSystemGroup.cs @@ -35,7 +35,11 @@ protected override void OnUpdate() { if (sys is GameObjectConversionConfigurationSystem config) { +#if UNITY_EDITOR config.Enabled = config.ShouldRunConversionSystem(); +#else + config.Enabled = true; +#endif } } } diff --git a/Core/Core/Containers/EntityOperationCommandBuffer.cs b/Core/Core/Containers/EntityOperationCommandBuffer.cs index f1f4ea7..46bd3d9 100644 --- a/Core/Core/Containers/EntityOperationCommandBuffer.cs +++ b/Core/Core/Containers/EntityOperationCommandBuffer.cs @@ -420,7 +420,9 @@ internal ParallelWriter(UnsafeParallelBlockList* blockList, void* state) m_blockList = blockList; m_state = (State*)state; m_ThreadIndex = 0; - m_Safety = default; +#if ENABLE_UNITY_COLLECTIONS_CHECKS + m_Safety = default; +#endif } /// diff --git a/Core/Core/Internal/InstantiateCommandBufferUntyped.cs b/Core/Core/Internal/InstantiateCommandBufferUntyped.cs index 583156b..f7704f1 100644 --- a/Core/Core/Internal/InstantiateCommandBufferUntyped.cs +++ b/Core/Core/Internal/InstantiateCommandBufferUntyped.cs @@ -711,7 +711,9 @@ internal ParallelWriter(UnsafeParallelBlockList* prefabSortkeyBlockList, UnsafeP m_componentDataBlockList = componentDataBlockList; m_state = (State*)state; m_ThreadIndex = 0; - m_Safety = default; +#if ENABLE_UNITY_COLLECTIONS_CHECKS + m_Safety = default; +#endif } public void Add(Entity prefab, T0 c0, int sortKey) where T0 : unmanaged diff --git a/Documentation~/Core/CHANGELOG.md b/Documentation~/Core/CHANGELOG.md index 4d8313f..6ded6bf 100644 --- a/Documentation~/Core/CHANGELOG.md +++ b/Documentation~/Core/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.3.1] – 2021-3-7 + +Officially supports Entities [0.17.0] + +### Fixed + +- Fixed several compiler errors when creating builds +- Removed dangling references to the Code Analysis package in + Latios.Core.Editor.asmdef + ## [0.3.0] – 2021-3-4 Officially supports Entities [0.17.0] diff --git a/package.json b/package.json index cf6690b..c22f0dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.latios.latiosframework", "displayName": "Latios Framework for DOTS", - "version": "0.3.0", + "version": "0.3.1", "unity": "2020.1", "description": "Latios Framework for DOTS is a collection of tools, algorithms, and API extensions developed by a hardcore hobbyist game developer.\n\nThis package includes all of the following packages:\n\u25aa Core\n\u25aa Psyshock Physics\n\u25aa Myri Audio\n\nComplete game examples: \n\u25aa Latios Space Shooter Sample - https://github.com/Dreaming381/lsss-wip/tree/v0.3.0", "dependencies": {