Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug MacOS Xcode "No such file or directory"

Discussion in 'macOS' started by ETGgames, Jan 1, 2023.

  1. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    I just upgraded to 2022.2.1f (I was on 2022.1 before and didn't have this issue)

    When I create an Xcode project for my mac game, and try and build or archive, I get these errors:


    <My game build path>/Plugins/Info.plist: No such file or directory

    <My game build path>/Plugins/ProcessStart: No such file or directory

    <My game build path>/Plugins/FileBrowser: No such file or directory (file browser is an asset store asset)

    <My game build path>/Plugins/CodeResources: No such file or directory


    Now whats interesting is that I have these three files in the Plugins dir:

    FileBrowser.bundle
    ProcessStart.bundle
    lib_burst_generated.bundle

    there is no coderesources, and info.plist is in the adjacent directory to Plugins (so basically i think it's looking in the wrong place)

    Also, for the files that _are_ present in /Plugins, maybe the reason it's saying 'no such file or directory' is because of the .bundle filename extension?

    Anyone having this issue or know how to fix?
     
    Last edited: Jan 5, 2023
    suhorukovs likes this.
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,896
  3. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    Hi, thanks for the reply,

    I narrowed it down to a plugin called "File Browser PRO", and submitted a bug report with a repro project here

    https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-28013

    It was working before I updated Unity, so I think it's an issue with Unity

    Thanks
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,896
    Thanks! We will investigate this.
     
    ETGgames likes this.
  5. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    any updates? ai is taking over the world we're in a hurry o_O
     
  6. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,292
    It's been less than two business days. I doubt you'll see any hot patch for something like this. The fact you got any response at all is above average.

    Do you have any special characters or space characters in your build path?
     
  7. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,896
    No, nothing yet. I'll let you know if I hear anything.
     
    ETGgames likes this.
  8. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    I have spaces, but that shouldn't be why.
    It works fine in 2021.3.16f1 so it's the unity version.

    It seems like the xcode project gets configured to look for files in the wrong place now or smth, which is why I'm convinced it's a unity issue
     
  9. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,292
    Easy enough to test, rename the path to avoid spaces. Yes, it would be a regression on Unity's part. Software regressions happen. If that's not the case, we have more data to fix it. If that IS the case, we have more data to fix it AND you are able to continue development before the patch is made.

    In the software development world, it is tempting fate to use any special characters or spaces in filenames. There are just WAY too many shell scripts which need very careful handling to deal with paths. It's always whack-a-mole.
     
  10. hexdecc

    hexdecc

    Joined:
    Oct 24, 2014
    Posts:
    145
    Same problem for me, I am just dealing for solutions 2-3 days.
    This disgusting.
     
  11. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    It has been known for some time now!!! It has even been fixed in 2023.x but they didnt even bother backporting it to 2022.2 until i called them out on it !!!
    Here is the bug report, its still “under consideration”. Please go an vote for it, nothing much else us poor helpless developers who have invested our lives into unity can do …
    https://issuetracker.unity3d.com/is...xported-project-with-script-debugging-enabled
     
  12. hexdecc

    hexdecc

    Joined:
    Oct 24, 2014
    Posts:
    145
    I have upgraded the project I took build, build also successfully in xcode,but it is not running,i cannot open the app
     
  13. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Voting on this is pointless, as this bug report is about a specific bug in 2023 (which would only happen for il2cpp universal binary builds with script debugging enabled) - related to code which did not exist in 2022, and with repro steps which don't reproduce in 2022. It cannot be backported to 2022, and is unrelated to the issue reported here.
     
  14. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    ETGgames likes this.
  15. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    Thankyou, am eagerly anticipating it.

    I'm still baffled by how Unity allows such horrific regressions to just slip so easily...no wonder everyone is leaving to Unreal
     
    Last edited: Mar 1, 2023
  16. hexdecc

    hexdecc

    Joined:
    Oct 24, 2014
    Posts:
    145
    downgrade 2021,it is working.
     
  17. ETGgames

    ETGgames

    Joined:
    Jul 10, 2015
    Posts:
    101
    this is not a solution in the slightest.
     
  18. marvpaul

    marvpaul

    Joined:
    May 9, 2016
    Posts:
    32
    I updated to 2022.3.10f1 Silicon and I was able to build / archive my xCode application now!
     
    Last edited: Sep 27, 2023
  19. zhuwenhua

    zhuwenhua

    Joined:
    May 14, 2019
    Posts:
    3