Skip to content

v1.4.2 - Unity 2021 LTS Compatibility & Build Fixes

Choose a tag to compare

@FurkanKirat FurkanKirat released this 05 Dec 22:40
· 5 commits to main since this release

馃敡 Maintenance Release v1.4.2

This release resolves compilation errors for Unity 2021.3+ users and cleans up the project structure.

馃悰 Critical Fixes

  • Fixed C# Version Mismatch: Enforced LangVersion 9.0 in the project configuration.
    • Fixes: error CS8773: Feature 'file-scoped namespace' is not available in C# 9.0.
    • All file-scoped namespaces have been converted to block-scoped namespaces to ensure full compatibility with Unity 2021 LTS.
  • Fixed Duplicate Attributes: Enabled .NET 8 <UseArtifactsOutput> to redirect build artifacts.
    • Fixes: error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute'.
    • Prevents Unity from detecting and conflicting with Visual Studio's bin and obj folders inside the package directory.

Note: The core logic and performance of data structures remain unchanged. This update is purely for build configuration and compatibility.

馃摝 Installation

For Unity (OpenUPM):

openupm add com.kankangames.structforge