protobuf-unity icon indicating copy to clipboard operation
protobuf-unity copied to clipboard

Constant reimport in Unity editor, may or may not be protobuf issue.

Open akoolenbourke opened this issue 4 years ago • 0 comments

I've noticed that my Unity editor has started doing a reimport about ever 5 seconds. We run an addon called FMOD and if I comment out its called to its own RefreshBanks() function the issue goes away but when I profile in the editor I see that E7.protobuf is showing a large part of the CPU usage.

If I uncheck "Enable Protobuf Compilation" in the Unity preferences then the issue goes away.

Attached is a screen shot. Do you have an idea as to whether this is a problem with protobuf, maybe updating something or calling some update because of what FMOD is doing? Or maybe FMOD is just a victim.

Is it possible that protobuf is noticing something is touched and then scans the entire project? If so maybe we can restrict protobuf to scanning on a specified folder?

Thanks

image

akoolenbourke avatar Oct 14 '20 19:10 akoolenbourke