Skip to content

Void Engine v1.2.1: DiscoverableHelper Hotfix

Choose a tag to compare

@Shmellyorc Shmellyorc released this 08 Sep 07:57

Hotfix Release

This release fixes a critical stack overflow in DiscoverableHelper that could crash the engine during startup or mod loading.

Fixed

  • Fixed infinite recursion in IsGameAssembly causing stack overflow during assembly scanning
  • Fixed DiscoverableHelper not respecting AssemblyScanMode.ExcludeFramework
  • Fixed assembly metadata inspection inside AssemblyLoad events triggering recursive loading

Added

  • Added TryFindManyByName with string and enum overloads
  • Added TryFindManyByCategory with string and enum overloads
  • Added TryFindManyByNameAndCategory with string and enum overloads
  • Added TryFindAll for bool-based collection queries

Changed

  • Replaced IsGameAssembly with ShouldScanAssembly and IsDefaultAllowed
  • Updated OnAssemblyLoad to only increment version counter
  • Wrapped assembly scanning in try/catch for graceful failure

Impact

Recommended for all users on 1.0.0, 1.1.0, and 1.2.0.

NuGet Package