Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Any way to add assembly definitions when exporting packages?

Discussion in 'Editor & General Support' started by Sharlatan, Nov 11, 2018.

  1. Sharlatan

    Sharlatan

    Joined:
    Jul 23, 2013
    Posts:
    111
    Hey everyone!

    I'm not sure if this is the right sub forum to ask, so, if not, sorry and please point me in the right direction!

    My question is: Is there any way to export assembly definitions as well, when exporting a package?

    I've got a utility project that I use in other projects. For reasons like quickly looking up code, make experimental changes, etc. within the project I'm currently working on, I export the utility project files as asset package and not as dll. Problem is though, the export dialog doesn't let me select assembly definition files.

    This means, that I have to set up the assembly definitions in the utility project, then when I export the files and import them in another project again, I will also have to manually copy and clone the whole assembly definition structure I have in the utility project in the other project as well. And every time I make any changes concerning assembly definitions in the utility project, I have to manually update those changes in all the other projects that make use of the utility project.

    Surely, there must be a better way. Am I missing something?
    Thanks!
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    6,829
    Hey. This sounds like a bug. Could you please file a bug report so we can investigate?
     
    cdr9042 likes this.
  3. cdr9042

    cdr9042

    Joined:
    Apr 22, 2018
    Posts:
    126
    I ran into this issue on 2019.4.8
     
  4. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    654
    Just ran into this issue in 2022.2.0b11

    Folder structure goes like this:
    Code (CSharp):
    1.  
    2. Common
    3.   -Shared
    4.     -Common.Shared.asmdf
    5.     -Extensions
    6.       -SomeExtension.cs
    7.       -OtherExtension.cs
    There is no option to choose the asmdf file, and it does not export properly.
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    6,829
    Could you please file a bug report?
     
  6. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    654
    Submitted a bug report.
    CASE IN-22256
     
    karl_jones likes this.
  7. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    654
  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    6,829
    We switched to a different bug system but you can use either to track. They are both linked.
     
    Gekigengar likes this.
  9. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    654
    Hello, I noticed I can't track whatever is happening with the bug like I could in the issue tracker.
    https://issuetracker.unity3d.com/is...ild-when-active-input-handling-is-set-to-both

    This is previous issue I've submitted on forums, and opened by one of the UI Toolkit devs.

    On the new system however.
    Nothing moved, no comments, no updates, nothing.
    Is it reproducable? Do I need to provide more information? Is it by design?
    Previously I can always keep track of whatever is happening with the issue ticket.
    Most importantly, is it being looked at? Or worked on?
     
  10. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    6,829
    It doesn't have a tracker link yet because it has not been confirmed as a bug by QA. Once they confirm it then it will get an issue tracker link. This is also how the old system worked.
     
unityunity