Unity deselecting .fbx files on click

Hi,

I’ve had this problem for a while now, basically whenever I click an .fbx file, Unity will deselect it. Happened sometime between Unity 5.3 and Unity 5.6. Have tried 5.6.1 and currently on 5.6.2, but I have no idea what’s causing it.

^Example of the issue. I’ve tried searching my project for any AssetPostProcessors that touch meshes, can’t find anything, I used to have KRABL but deleted it, and am out of ideas. Weird how if I rightclick, sometimes it will display the inspector without resetting it until I de-rightclick.

If anyone can help me solve this, I’m happy to throw them a free copy of my Post-Processing asset PRISM (in sig).

does it happen in new empty project?

Nope. Only in this mega-project. I used to use Krabl/Skele but have removed them. Also nothing I can see in editor logs. Have removed Windows references to .fbx file associations as well. Have no AssetPostProcessors that touch meshes.

if you Profile editor, would that show anything extra running…?

or maybe some code with onselectionchange? Unity - Scripting API: EditorWindow.OnSelectionChange()

i’d duplicate the project, then start deleting stuff until it stops…

Profiled the editor, there’s a massive GC alloc in GetType() (1+MB) when selecting an fbx, but nothing that stands out. No OnSelectionChange. I think I may need to end up duplicating+shotgunning stuff, but that really would be a last resort.

Fixed it! Reverting editor layout to factory settings did the trick.