needle-tools / selective-profiling

Selectively deep profile single methods while your game is running in Unity's Profiler 🔬
135 stars 11 forks source link

Patching ``Unity.Entities.ComponentDependencyManager GetDependencies`` throws exceptions #16

Open marwie opened 3 years ago

marwie commented 3 years ago

This also happens when just using harmony with a prefix patch Reproduced here https://github.com/marwie/EntityComponentSystemSamples/tree/harmony-dependencymanager

Possibly caused by struct + unsafe + partial? But could not reproduce outside of Unity. Maybe because Burst compiled?