You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this is a problem I just debugged and solved for myself for a few hours, and thought it'd be useful to share with others:
I was trying to use the buildtool (latest master, downloaded and put into the Packages folder), but all builds were failing with '1 error' and no more specific issues. It turns out that because the version had been blank (I hadn't known you had to generate a new version), and my desired build paths began with $VERSION/, the paths being produced began with /. This overwrote the build directory when using Path.Combine here:
and caused all paths to try to be written from /, which fails because Unity doesn't have access to that directory.
I think this is a case where the tool should warn or error out before even reaching the build; if a piece of the path would produce an empty string, I think it's worth noting since those issues can cause paths to behave unexpectedly like I saw.
The text was updated successfully, but these errors were encountered:
Hello, this is a problem I just debugged and solved for myself for a few hours, and thought it'd be useful to share with others:
I was trying to use the buildtool (latest master, downloaded and put into the Packages folder), but all builds were failing with '1 error' and no more specific issues. It turns out that because the version had been blank (I hadn't known you had to generate a new version), and my desired build paths began with
$VERSION/
, the paths being produced began with/
. This overwrote the build directory when usingPath.Combine
here:buildtool/Editor/Build/BuildProject.cs
Line 189 in 99248ed
/
, which fails because Unity doesn't have access to that directory.I think this is a case where the tool should warn or error out before even reaching the build; if a piece of the path would produce an empty string, I think it's worth noting since those issues can cause paths to behave unexpectedly like I saw.
The text was updated successfully, but these errors were encountered: