Skip to content

Conversation

@belplaton
Copy link
Contributor

No description provided.

@FirstGearGames
Copy link
Owner

I believe this was already added in 4.6.19/4.6.20?

@belplaton
Copy link
Contributor Author

Here, foreach loops were replaced with for loops and enumerators to avoid unnecessary allocations.

Next, the required profiler markers were added along with some refactoring.

In addition, two events were added to indicate the start and end of reconciliation (at the very beginning, before the very first frame, and at the very end, after the very last frame).

@FirstGearGames

@FirstGearGames
Copy link
Owner

After review none of the loops should cause boxing. We talked briefly and I suspect your GC is coming from somewhere else. If you have the exact culprit via DeepProfiler we can look into changing those specific instances.

The ProfileMarkers for PredictionManager were added in. Remainder of the code was discarded given the reasons above. I'll keep this open for a few weeks as discovery. Feel free to leave any comments here or via DM.

@FirstGearGames FirstGearGames added the Waiting For Information Not enough information has been supplied to resolve this issue. label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Waiting For Information Not enough information has been supplied to resolve this issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants