decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

WorldUtil - Always emit sorting warning message #171

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

When optimizing worlds the sorting warning message is now always emitted. This communicates to the developer that sorting certain system groups will now always emit a warning post optimization.

This message is useful since the sort warnings can come up after optimizing the world and the reason isn't immediately obvious.

Maybe someday we can have better log filtering and prevent this warning spam but for now it's better to inform developers about what to expect.

What is the current behaviour?

Warning message when optimizing worlds is only emitted when LOG_VERBOSE is enabled. The message also only communicates the immediately expected warnings.

What is the new behaviour?

Warning message is always emitted when optimizing worlds. The message communicates that all sort operations on the originating group will trigger the warnings

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?