Search Feedback

23
votes

Improve Error Message When Command Line Execution Fails To License Issue

Licensing

-

-

Currently if you execute Unity from the command line using "-buildTarget android" or "-buildTarget ios" without having activated that Unity installation the build will fail with a message along the lines of "Build target platform 'android' is not a supported build target." This message belies the fact that the real problem is that Unity needs to be activated. Please teach Unity to provide a message that more clearly indicates which steps need to be taken in this case.

Comments (1)

  1. 80cdb3c13aa0302592650f8102752d81?d=mm

    JesseSmith

    Apr 22, 2016 21:54

    Better feedback has been included in 5.4.0b15 which you can find here: https://unity3d.com/unity/beta

    It's also been backported 5.3.4p4 so feel free to try it out! - http://unity3d.com/unity/qa/patch-releases?version=5.3

    From the release notes:
    (782752) - Editor: Improved error messages for unsupported target platform in batch mode.

    Messages in case of an error should be one of these 4:
    1. "Build target platform name <platform> is not valid."

    2. "Support for build target platform <platform> is not installed." (if the PlaybackEngines/<platform> directory doesn't exist)

    3. "You don't have the license for build target platform <platform>." (if the license doesn't cover the target platform)

    4. "Build target platform <platform> could not be used." (just a fallback in case there's another error. There shouldn't be any cases that hit this now but there could be in the future)

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10889)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(364)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(148)

Collaborate

(68)

Docs & Tutorials

(247)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(190)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)