Search Issue Tracker
Fixed
Votes
0
Found in
5.3.4p1
Issue ID
786489
Regression
Yes
BuildPipeline.BuildPlayer throws "Opening file failed" if path is without ".app" ending
Make sure to have Mac target support installed to reproduce this issue.
Reproduction steps:
1. Open the attached project
2. Sselect the tools menu item "Build" -> "Build this"
3. Notice the error
4. Now open the script "Build.cs" and add ".app" in the end of "Hello world" (like "Hello world.app")
5. repeat step 2 and notice that error is no longer present
Actual result: "Opening file failed" error is thrown if path is without ".app" ending
Expected result: BuildPipeline.BuildPlayer should not fail to build if path does not have ".app" ending
Workaround: Adding ".app" at the end of the path fixes the problem
Reproduced on 5.4.0b16, 5.3.4p2, 5.2.4p1
Could not reproduce on 5.1.4p1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment