unity-azure-pipelines-tasks icon indicating copy to clipboard operation
unity-azure-pipelines-tasks copied to clipboard

Azure DevOps extension adding tools to build and deploy Unity 3D projects using Azure Pipelines

Results 52 unity-azure-pipelines-tasks issues
Sort by recently updated
recently updated
newest added

Manual Activation Files for Unity Personal

[{"_id":"634349656a9f94608c572624","body":"I decided to bite the bullet and try my hand at writing the PR (#134) anyway.","issue_id":1660392677520,"origin_id":629057035,"user_origin_id":3118172,"create_time":1589524530,"update_time":1589524530,"id":1665354085287,"updated_at":"2022-10-09T22:21:25.287000Z","created_at":"2022-10-09T22:21:25.287000Z"}] comment

Because Unity personal licenses use manual activation files instead of serial keys, it's not currently possible to activate Unity for individuals without a pro license. I would appreciate it if...

Both activate license and build fail with this error. I don't know what "Path" might be undefined ``` 2020-05-14T14:47:27.6791685Z ##[section]Starting: Unity Build standalone 2020-05-14T14:47:27.6940130Z ============================================================================== 2020-05-14T14:47:27.6940510Z Task : Unity Build...

Default Build Command includes non-enabled scenes

[{"_id":"634341a58402fb318b6f0de8","body":"Thank you, this seems like a trivial fix. I'll put it in the next patch release.","issue_id":1660392677527,"origin_id":627595684,"user_origin_id":9565734,"create_time":1589317618,"update_time":1589317618,"id":1665352101739,"updated_at":"2022-10-09T21:48:21.739000Z","created_at":"2022-10-09T21:48:21.739000Z"}] comment

In unity-build-script.helper.ts Lines 31-37 when the scenes get added to the list of scenes to build there is no check to see if the scene is enabled. ``` EditorBuildSettingsScene[] editorConfiguredBuildScenes...

bug

azure build failure issue

[{"_id":"63433b49fa5d322eb9336f4f","body":"Hi @PallabiGIT,\r\n\r\nsince you are using hosted agents, did you activate the unity instance before building the project?","issue_id":1660392677532,"origin_id":613615743,"user_origin_id":9565734,"create_time":1586889928,"update_time":1586889928,"id":1665350473263,"updated_at":"2022-10-09T21:21:13.262000Z","created_at":"2022-10-09T21:21:13.262000Z"},{"_id":"63433b49fa5d322eb9336f50","body":"Hi , Still i am getting the similar issue. I tried to activate the unity instance before building the project.\r\nCould you please reply me back.\r\n\r\n","issue_id":1660392677532,"origin_id":616564769,"user_origin_id":36044079,"create_time":1587390402,"update_time":1587390402,"id":1665350473268,"updated_at":"2022-10-09T21:21:13.268000Z","created_at":"2022-10-09T21:21:13.268000Z"},{"_id":"63433b49fa5d322eb9336f51","body":"Can you share the log? What does your build pipeline look like?","issue_id":1660392677532,"origin_id":616969626,"user_origin_id":9565734,"create_time":1587448705,"update_time":1587448705,"id":1665350473271,"updated_at":"2022-10-09T21:21:13.271000Z","created_at":"2022-10-09T21:21:13.271000Z"},{"_id":"63433b49fa5d322eb9336f52","body":"\r\n<img width=\"725\" alt=\"azure pipeline\" src=\"https:\/\/user-images.githubusercontent.com\/36044079\/79874073-d43dff80-83df-11ea-9d4d-8e61bdaccd20.PNG\">\r\n\r\nHi here is the attached screen shot of build pipeline. But could you please more specific about which log you are asking about.\r\n\r\n","issue_id":1660392677532,"origin_id":617195470,"user_origin_id":36044079,"create_time":1587477290,"update_time":1587477290,"id":1665350473274,"updated_at":"2022-10-09T21:21:13.273000Z","created_at":"2022-10-09T21:21:13.273000Z"},{"_id":"63433b49fa5d322eb9336f53","body":"Please try using V2 of the build task. Then check the option `Specify Log File`. This will generate a build log. The task has an output variable that you can use to get the path to the log file and publish it as an artifact of the pipeline.","issue_id":1660392677532,"origin_id":617338456,"user_origin_id":9565734,"create_time":1587493920,"update_time":1587493920,"id":1665350473277,"updated_at":"2022-10-09T21:21:13.276000Z","created_at":"2022-10-09T21:21:13.276000Z"},{"_id":"63433b49fa5d322eb9336f54","body":"I will have an update ready tomorrow morning, that will help debugging this.","issue_id":1660392677532,"origin_id":617338575,"user_origin_id":9565734,"create_time":1587493934,"update_time":1587493934,"id":1665350473279,"updated_at":"2022-10-09T21:21:13.279000Z","created_at":"2022-10-09T21:21:13.279000Z"},{"_id":"63433b49fa5d322eb9336f55","body":"Hi @PallabiGIT,\r\n\r\nI just published a new update to the extension at (https:\/\/marketplace.visualstudio.com\/items?itemName=DinomiteStudios.64e90d50-a9c0-11e8-a356-d3eab7857116&ssr=false#overview).\r\n\r\nUsually your organization should update it by default to the latest release. Make sure you are using version 2.7.0 of the extension in your organization.\r\n\r\nIt will now provide valuable log output while building and running the tasks. This should help us identify the issue.","issue_id":1660392677532,"origin_id":617652397,"user_origin_id":9565734,"create_time":1587546345,"update_time":1587546345,"id":1665350473282,"updated_at":"2022-10-09T21:21:13.281000Z","created_at":"2022-10-09T21:21:13.281000Z"},{"_id":"63433b49fa5d322eb9336f56","body":"Also please update your pipeline to use the `windows-2019` agent.","issue_id":1660392677532,"origin_id":617661226,"user_origin_id":9565734,"create_time":1587547349,"update_time":1587547349,"id":1665350473285,"updated_at":"2022-10-09T21:21:13.285000Z","created_at":"2022-10-09T21:21:13.285000Z"},{"_id":"63433b49fa5d322eb9336f57","body":"Hi Please see the below screenshot.\r\n<img width=\"963\" alt=\"azure pipeline log\" src=\"https:\/\/user-images.githubusercontent.com\/36044079\/80581766-8d669000-8a05-11ea-915b-c8701cfca4d2.PNG\">\r\n","issue_id":1660392677532,"origin_id":621094976,"user_origin_id":36044079,"create_time":1588153126,"update_time":1588153126,"id":1665350473287,"updated_at":"2022-10-09T21:21:13.287000Z","created_at":"2022-10-09T21:21:13.287000Z"},{"_id":"63433b49fa5d322eb9336f58","body":"I can't reproduce your issue so far. It seems the activation process doesn't even start. Did the Untiy setup finish successfully?","issue_id":1660392677532,"origin_id":621892086,"user_origin_id":9565734,"create_time":1588257196,"update_time":1588257196,"id":1665350473290,"updated_at":"2022-10-09T21:21:13.290000Z","created_at":"2022-10-09T21:21:13.290000Z"},{"_id":"63433b49fa5d322eb9336f5a","body":"Hello,\r\n\r\nI noticed the same issue as @PallabiGIT \r\nI'm trying to use UnityActivateLicenseTask but never managed to reach a successfull job:\r\n\r\n`##[error]The job running on agent Hosted Agent ran longer than the maximum time of 60 minutes. For more information, see https:\/\/go.microsoft.com\/fwlink\/?linkid=2077134`\r\n\r\nSee the output of UnityActivateLicenseTask :\r\n\r\n`Starting: Unity License activation\r\n...\r\n#[debug]agent.TempDirectory=d:\\a\\_temp\r\n##[debug]loading inputs and endpoints\r\n##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN\r\n##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION\r\n##[debug] ***\r\n##[debug] -serial\r\n##[debug] ***\r\n##[debug] -logfile\r\n##[debug] d:\\a\\1\\s\\Logs\\UnityActivationLog_2020-05-11-11-26-43.log\r\n\"C:\\Program Files\\Unity\\Hub\\Editor\\2018.4.14f1\\Editor\\Unity.exe\" -batchmode -quit -nographics -username *** -password *** -serial *** -logfile d:\\a\\1\\s\\Logs\\UnityActivationLog_2020-05-11-11-26-43.log\r\n[0511\/112647:ERROR:gpu_info_collector_win.cc(103)] Can't retrieve a valid WinSAT assessment.\r\n\r\n##[debug]Exit code 1 received from tool 'C:\\Program Files\\Unity\\Hub\\Editor\\2018.4.14f1\\Editor\\Unity.exe'\r\n##[debug]STDIO streams have closed for tool 'C:\\Program Files\\Unity\\Hub\\Editor\\2018.4.14f1\\Editor\\Unity.exe'\r\n##[debug]Re-evaluate condition on job cancellation for step: 'Unity License activation'.\r\n##[error]The operation was canceled.\r\n##[debug]System.OperationCanceledException: The operation was canceled.\r\n at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary 2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue 1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)\r\n at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary 2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue 1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)\r\n at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary 2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, CancellationToken cancellationToken)\r\n at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync()\r\n at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync()\r\n at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)\r\nFinishing: Unity License activation`\r\n","issue_id":1660392677532,"origin_id":626706289,"user_origin_id":21127574,"create_time":1589204191,"update_time":1589205224,"id":1665350473295,"updated_at":"2022-10-09T21:21:13.294000Z","created_at":"2022-10-09T21:21:13.294000Z"}] comment

Hi , I am trying to use a hosted build pipeline in Azure with unity but i am getting build failure . I am getting this error "The Unity build...

It looks like the `developmentBuild` option is missing in `UnityBuildTask@3`, was this intentional? If not, can we add it back?

Docs out of date

[{"_id":"634342438402fb318b6f0e4a","body":"I second that :)","issue_id":1660392677541,"origin_id":620705205,"user_origin_id":1184125,"create_time":1588090325,"update_time":1588090325,"id":1665352259490,"updated_at":"2022-10-09T21:50:59.489000Z","created_at":"2022-10-09T21:50:59.489000Z"}] comment

Please update the docs as azure devops platform has changed a lot and it's really hard to follow the steps.

enhancement

Unity Test Task failes due to missing unity-test.js file

[{"_id":"6343482509a35269b77f62db","body":"Hi, thank you. I am looking into this.","issue_id":1660392677545,"origin_id":606608932,"user_origin_id":9565734,"create_time":1585659328,"update_time":1585659328,"id":1665353765451,"updated_at":"2022-10-09T22:16:05.451000Z","created_at":"2022-10-09T22:16:05.451000Z"},{"_id":"6343482509a35269b77f62dc","body":"Hi, I just published an update to the extension. v2.7 addresses many issues and brings improvements for debugging. Could you check if your issue is resolved?\r\n\r\nAlso if you are using a custom agent, please make sure it has nodejs installed in the latest stable version.","issue_id":1660392677545,"origin_id":617657501,"user_origin_id":9565734,"create_time":1587546936,"update_time":1587546936,"id":1665353765454,"updated_at":"2022-10-09T22:16:05.454000Z","created_at":"2022-10-09T22:16:05.454000Z"},{"_id":"6343482509a35269b77f62dd","body":"Hi, could you please check whether the just published update resolved this issue for you?","issue_id":1660392677545,"origin_id":617668069,"user_origin_id":9565734,"create_time":1587548150,"update_time":1587548150,"id":1665353765457,"updated_at":"2022-10-09T22:16:05.456000Z","created_at":"2022-10-09T22:16:05.456000Z"},{"_id":"6343482509a35269b77f62de","body":"Hi again.\r\nIt starts at least this time. And it seems to run the tests, but something is happening and unity crashes somehow. Then the tests starts again on its own, and the same thing happens over and over. Had to manually cancel the job.\r\n\r\n```\r\n\r\nRefresh completed in 0.066201 seconds.\r\nRefreshInfo: RefreshV2(NoUpdateAssetOptions)\r\nRefreshProfiler: Total: 66.188ms\r\n\tInvokeBeforeRefreshCallbacks: 0.001ms\r\n\tApplyChangesToAssetFolders: 0.065ms\r\n\tWriteModifiedImportersToTextMetaFiles: 0.000ms\r\n\tCleanLegacyArtifacts: 0.000ms\r\n\tScan: 56.851ms\r\n\tOnSourceAssetsModified: 0.000ms\r\n\tUnregisterDeletedAssets: 0.000ms\r\n\tInitializeImportedAssetsSnapshot: 4.744ms\r\n\tGetAllGuidsForCategorization: 0.000ms\r\n\tCategorizeAssets: 0.000ms\r\n\tImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children)\r\n\t\tImportManagerImport: 0.000ms (0.000ms without children)\r\n\t\t\tImportInProcess: 0.000ms\r\n\t\t\tImportOutOfProcess: 0.000ms\r\n\t\t\tUpdateCategorizedAssets: 0.000ms\r\n\t\t\tRemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)\r\n\t\t\t\tRemoteAssetCacheResolve: 0.000ms\r\n\t\t\t\tRemoteAssetCacheDownloadFile: 0.000ms\r\n\t\tCompileScripts: 0.000ms\r\n\t\tPostProcessAllAssets: 0.000ms\r\n\t\tReloadImportedAssets: 0.000ms\r\n\t\tVerifyAssetsAreUpToDateAndCorrect: 0.000ms\r\n\t\tEnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms\r\n\t\tInitializingProgressBar: 0.000ms\r\n\t\tPostProcessAllAssetNotificationsAddChangedAssets: 0.000ms\r\n\t\tOnDemandSchedulerStart: 0.000ms\r\n\t\tRestoreLoadedAssetsState: 0.000ms\r\n\tInvokeProjectHasChanged: 0.000ms\r\n\tUpdateImportedAssetsSnapshot: -0.000ms\r\n\tReloadSourceAssets: 0.000ms\r\n\tUnloadImportedAssets: 0.000ms\r\n\tHotreload: 0.019ms\r\n\tFixTempGuids: 0.004ms\r\n\tVerifyGuidPMRegistrations: 0.000ms\r\n\tGatherAllCurrentPrimaryArtifactRevisions: 0.640ms\r\n\tUnloadStreamsBegin: 0.016ms\r\n\tLoadedImportedAssetsSnapshotReleaseGCHandles: 0.856ms\r\n\tGetLoadedSourceAssetsSnapshot: 0.975ms\r\n\tPersistCurrentRevisions: 0.000ms\r\n\tUnloadStreamsEnd: 0.016ms\r\n\tUntracked: 2.002ms\r\nCleanup mono\r\ndebugger-agent: Unable to listen on 39\r\n[usbmuxd] Stop listen thread\r\n[usbmuxd] Error: \r\n[usbmuxd] Listen thread exiting\r\n[Package Manager] Server::Kill -- Server was shutdown\r\nChecking for leaked weakptr:\r\n Found no leaked weakptrs.\r\n##utp:{\"type\":\"MemoryLeaks\",\"version\":2,\"phase\":\"Immediate\",\"time\":1587548022469,\"processId\":29038,\"allocatedMemory\":34139089,\"memoryLabels\":[{\"Default\":-1596},{\"Thread\":87},{\"Manager\":3328},{\"GfxDevice\":160},{\"Physics\":81},{\"Serialization\":40},{\"String\":15\r\n```\r\n\r\nI have a bash script that is running successfully to do the tests, these are the arguments I use:\r\n\r\n```\r\n.\/Unity -batchmode -logFile $(System.DefaultWorkingDirectory)\/run.log -projectPath $(System.DefaultWorkingDirectory) -runTests -testResults $(System.DefaultWorkingDirectory)\/playmode-results.xml -testPlatform playmode\r\n```","issue_id":1660392677545,"origin_id":617673397,"user_origin_id":1012680,"create_time":1587548810,"update_time":1587548810,"id":1665353765461,"updated_at":"2022-10-09T22:16:05.460000Z","created_at":"2022-10-09T22:16:05.460000Z"}] comment

I am trying out the new Unity Test Task that is available, but I get this error when running the task. ##[error]File not found: '/Volumes/Samsung_T5/AgentWork/_tasks/UnityTestTask_85e57e6f-cb59-4d1d-979f-dd830b51f2fa/1.0.0/unity-test.js' We are running this on...

The docs need an update. The image showing the inline powershell script does not match what the docs say the script should look like. See #112

Running Tests should not fail

[{"_id":"634343288402fb318b6f0efd","body":"Hi @tamademicheli, thanks for the input. This is pretty useful and interesting. Could you share some more how you are using the task for testing? Because I am actually planning to add a separate \"Task Runner\" Task to the extension instead of making it part of the Unity Build Task. Your input is much appreciated here.","issue_id":1660392677552,"origin_id":515686461,"user_origin_id":9565734,"create_time":1564236130,"update_time":1564236130,"id":1665352488368,"updated_at":"2022-10-09T21:54:48.368000Z","created_at":"2022-10-09T21:54:48.368000Z"},{"_id":"634343288402fb318b6f0efe","body":"Hi Sorry for the late answer.\r\n\r\nI just use the advanced-> custom like this \r\n-stop -runTests -batchmode -logFile $(Build.SourceBranchName)-$(Build.BuildNumber).log -testPlatform editmode -testResults $(Agent.BuildDirectory)\\s\\MyProjectName-$(Build.BuildNumber)-EditMode-TestResults.xml \r\n\r\nthen i add a \r\n![image](https:\/\/user-images.githubusercontent.com\/24875849\/62116485-89f97900-b2ba-11e9-956f-9f2e0972f07f.png)\r\n\r\nLet me know if you need more insight, or more info about how we do use your extension. ","issue_id":1660392677552,"origin_id":516335411,"user_origin_id":24875849,"create_time":1564477856,"update_time":1564477856,"id":1665352488373,"updated_at":"2022-10-09T21:54:48.373000Z","created_at":"2022-10-09T21:54:48.373000Z"}] comment

I use for my CI Pipeline this for running the tests and then publish them. but i always get this error, and i have to ignore it, and the build...

bug
enhancement

Errors during Install UnitySetup.Powershell and Activate License

[{"_id":"6343432d09a35269b77f5f5f","body":"Update on this issue. It appears that my next attempt yielded a failure, yet the Unity.Setup Powershell succeeded. Is it possible that this will occur if Unity Hub is already running?\r\n\r\nThe remaining errors are as follows:\r\n\r\n![image](https:\/\/user-images.githubusercontent.com\/25304444\/59886259-eb592e80-9383-11e9-83ef-08098903e5be.png)\r\n\r\n\r\n Thank you again for your help!","issue_id":1660392677556,"origin_id":504226933,"user_origin_id":25304444,"create_time":1561071062,"update_time":1561071062,"id":1665352493195,"updated_at":"2022-10-09T21:54:53.195000Z","created_at":"2022-10-09T21:54:53.195000Z"},{"_id":"6343432d09a35269b77f5f60","body":"Update on this issue: I have been able to successfully build using the default local agent, but am still getting this error when attempting to build with the built-in Azure agents.","issue_id":1660392677556,"origin_id":505602290,"user_origin_id":25304444,"create_time":1561493244,"update_time":1561493244,"id":1665352493199,"updated_at":"2022-10-09T21:54:53.199000Z","created_at":"2022-10-09T21:54:53.199000Z"},{"_id":"6343432d09a35269b77f5f61","body":"Hi @tjanko04 thank you for submitting the issue and keeping me updated. So the issue is when you are building using a hosted agent with Untiy 2017.4.1f1 the activation fails because the editor cannot be found. I'll try and reproduce this and keep you updated.","issue_id":1660392677556,"origin_id":505781662,"user_origin_id":9565734,"create_time":1561538742,"update_time":1561538742,"id":1665352493202,"updated_at":"2022-10-09T21:54:53.202000Z","created_at":"2022-10-09T21:54:53.202000Z"},{"_id":"6343432d09a35269b77f5f62","body":"Hi @FejZa,\r\n\r\nThanks very much for the response. I apologize that I wasn't able to correct the text formatting in my initial submission. If there is anything else you'd like from my end, please let me know.\r\n\r\nTo recap where I am now, I am able to build successfully when using my own machine (Default) agent. However, when selecting a Hosted Agent, I will get one of the two errors above and unfortunately, this appears to be inconsistent.\r\n\r\nSome attempts will cause a failure during Install Unity.Powershell Setup while other attempts will get beyond this step and fail during Activate Unity license. \r\n\r\nIf I'm able to isolate and reproduce each case, I'll let you know. Thanks again!","issue_id":1660392677556,"origin_id":505951842,"user_origin_id":25304444,"create_time":1561566951,"update_time":1561566951,"id":1665352493205,"updated_at":"2022-10-09T21:54:53.204000Z","created_at":"2022-10-09T21:54:53.204000Z"}] comment

After following the step-by-step instructions, the following two errors occur: First, within the UnitySetup.Powershell- [section]Starting: Install UnitySetup.Powershell module ============================================================================== Task : PowerShell Description : Run a PowerShell script on Linux,...