editor
[Burst] Resolve BC1091 Static Constructor Compilation Errors
Solution
Unity 2019.4.x - Unity 6.3.x
Published Thu, Mar 26
A BC1091 error is thrown when Burst encounters HashCode.Combine or other external calls within a static constructor, specifically within the Unity.MemoryProfiler.Editor package.
This prevents successful Burst compilation for the affected assembly in the editor, though it typically falls back to managed code execution.
Quick-Fix
Updating the Burst package to the latest version resolves compilation issues involving static constructors and HashCode.Combine.
Related Posts Haven't quite found a solution to your problem? We think these posts might help you.
[Canvas System] Duplicated UI Assets: Awake Initialization Skip[Editor Init] Instantly Speed Up Project Creation[Key Press] Stop Input.GetKeyDown Double Triggers
Content inspired by a Unity discussion post.