So I’ve been trying to cleanup my addressables and fix the duplication across my groups.
I keep getting warnings saying some scripts have duplicate scene references.
Why are scripts included in the analyze tool? I was under the impression scripts are not part of Asset bundles.
For example:
I have some custom scripts “ColoredObject” and “LightObject” that are both used in my addressable assets and scenes. I also have some addressable assets using Light2D from URP.
Why are these .cs files being analyzed? Can I not have scenes and addressable assets referencing the same scripts?
Hopefully this is just a bug in the analyze tool.
This has been regularly reported for some time. Scripts are not packed in bundles so it is a bug in the analyze tool. Sadly the amount of false positives makes this tool useless.
+1. For any project of a decent size this makes the analyze tool useless since its filled with scripts.
My project has over 10000 asset bundles and is showing over 2700 duplicates for one scene alone, with majority of them being for a script file. How am I supposed so sort through that in any reasonable time period?
Still same problem on 1.16.15
Can we at least get some filtering options in the analyze tool?
I don’t want to see 100+ script duplication warnings when I’m only looking for asset duplication. Makes it very hard to find actual problems.
I’m sorry to hear this. To my memory, this is the first I’m hearing about this. I don’t guess any bugs that have been filed have made it to our team for one reason or another. If there were threads about this then I’m sorry we missed them.
This is obviously wrong. I just filed a bug on our end to fix it. I apologize for the inconvenience.