Forum Discussion
Content Performance Analyser is no longer loading
Good and bad news I wasn't able to reproduce this in v5.2315.6 - but I want to learn how we can fix it for you (and likely others).
If you select the AnalyzerWindow script in the Mesh Toolkit package, do you see a valid "Window Template" specified in the inspector? Or is it set to none?
Unity editor
Apologies for the confusion ... I am logged in with another account and cannot find a way to switch accounts on this forum.
I have another project using Mesh that is working fine. It has the same Unity version and the same SDK.
Here's a screenshot of the Inspector with the file you have shown above selected. As you can see, there is something definitely wrong with the compilation of that script.
Do you think it is the capitalisation of CPA in the namespace?
- CameronMickaFeb 21, 2024
Microsoft
Thanks for the extra info! Could you try closing Unity and deleting your Unity project's "Library" folder? Or if you are using git (and have everything committed) you can perform a `git clean -xdf` - this might be a Unity bug I've encountered before.
I have an idea on how to make loading the VisualTreeAsset more robust which I may try as well for future Mesh releases.- Weald_SpatialFeb 23, 2024Brass Contributor
Deleting the library fixed it. Do you think it has anything to do with the capitalisation in the namespace?
- CameronMickaFeb 23, 2024
Microsoft
Weald_Spatial thanks for verifying that! I think this is a Unity 2022 bug we are trying to track down.
The idea that it could be capitalization in the namespace is interesting, I'm honestly not sure. I wouldn't think that would cause this issue? I'm working on some changes to make this more robust, so this doesn't happen to other people too.