Search Issue Tracker

Fixed in 5.3.5

Votes

0

Found in

5.3.1p1

Issue ID

757618

Regression

No

[iOS] BuildPipeline.BuildPlayer fails when building to a non-existenting folder

iOS

-

To Reproduce:

1. Download the attached project (to comment) and run unity in terminal with these args:
…/MacOS/Unity -quit -batchmode -executeMethod BuildTest.TestBuildiOS
(or just open project manually and clikc ’Test Build/iOS’)

2. Observe that the build fails because the target path folder doesn’t exist yet (see log in comment).

3. Build to any other platform (BuildTest.TestBuildStandalone/TestBuildWebplayer) observe that the neccesaary folders are created automatically when building and iOS player can also be built for the specified path now.

Maybe Common/Utils.ReplaceFileOrDirectoryCopy should create the missing folder automatically instead of failing?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.