So I was trying to export a prefab into a package, and noticed that if it contained a script, that it would have a HUGE list of dependencies consisting of every other script in the project. I tried this with multiple projects and even a clean install of Unity 4 and the problem persisted.
I also tried it with my copy of Unity 3 and worked fine.
This is preventing me from exporting a character I made to another project. Any fixes/workaround suggestions would be great!
Same problem here. I’m right clicking on a single prefab with one script attached to it and choosing export package as I always have. Just like you said, all scripts are being included as dependencies! It’s definitely a problem.
After raging for a bit, I found an obvious and simple work-around that should work for most situations.
Example:
If you want to export your playerPrefab, right click on it and select dependencies.
Right-click again and export package.
Uncheck include dependencies.
This should give the same results that you would get before Unity 4.(i.e. wont’ include all scripts automatically)
^ note to that, if you do that for scene file (right click and select dependencies)
the scene file gets deselected… need to add it to that selection again to include it…