Search Unity

Issues with importing packages with similar contents

Discussion in 'Scripting' started by liortal, Sep 29, 2014.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Hey,

    Our game uses a few plugins for iOS, some of which include the XCodeEditor-Unity library (enables to manipulate XCode project after a unity build).

    The problem is, if this library was already added to the project (under some path: /PluginA/XcodeEditor-Unity), in case a second package contains this (but in a different path), importing it causes the files from the first plugin to be modified (in case there were changes between them).

    I guess the package contains some metadata (GUIDs?) about the origin of these files, and think these are the same, thus updating it instead of importing the package into the predefined location.

    Did anyone else encounter this? How do you get by this issue of multiple plugins all including the same libraries?

    I'd like to keep to a minimum the amount of manual work i'm doing for each imported plugin (i'd rather not update any of its code, if possible).

    I would love to hear anyone else's experiences with this issue.

    EDIT

    Digging up, these 2 issues seem related (although unfixed...)

    http://issuetracker.unity3d.com/iss...e-the-same-folder-but-different-content-fails
    http://issuetracker.unity3d.com/iss...folders-results-in-mixed-up-and-missing-files