Blue objects Mac OS

Hi everyone,

I have started learning Unity 2 weeks ago , but occasionally face on my M2 Max 32GB Studio this loading delays - https://youtu.be/QdGhczeNItg https://youtu.be/bFd1oYJnTC4 this is the issue , is there some more changes I should make in project to prevent it ? Many thanks

Does your object switch shaders when you click it? Does it happen in the Editor or during runtime (when you exported a standalone game app?)

This looks like the delay from shader compilation. However, this should only happen once and then be cached (unless you make changes to your shader again).

The shader cache should be handled automatically. However, when deleting the cache, this will happen again because shaders will be re-compiled. To avoid this issue being visible for your users during runtime, you can pre-cache everything you need (e.g. using all materials you’re going to use briefly when loading your game to force them to be compiled).

I have noticed it during load a scene in editor , sometimes in runtime itself specially when switched platform from
Mac to iOS .

Also when I went to Player and preview there Unity opening scene it went blue for 1sec as well.

I have tested it today again and noticed this Compiling shader progress at bottom right .