When saving a UXML or USS file from within the UI Builder, the AssetModificationProcessor.OnWillSaveAssets callback is fired, but with an empty paths array.
I am parsing changed uxml files upon save, then doing codegen based on elements within those files (to reduce my boilerplate). Happy to share the whole script, it’s not that big (yet).
Sorry for my ignorance; but can you link me to instructions to file a bug? I thought this forum was the way to do that
The forum is quicker to get pointers, workaround and event sometime find the solution to the problem you have in other threads. It is always a good place to start. For example, you could learn in the forum that we will simply never allow a specific usage and that is by design, so reporting a bug would be waiting a long time for having an answer that won’t really help you.
When you file a bug, the process is obviously longer, but also more rigorous, as it end up with a change in Unity. This guarantee that the issue will not be forgotten, that it will be properly tested and also we will look if we need to fix the bug in previous versions of unity for example.
When you file a bug, the more info you can provide the better! Usually, it will be looked upon by someone that has just the information of the bug report to confirm if it can be reproduced.