Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

ApplicationUpdaterUI fails when renderMode is configured as gpu

Open johnou opened this issue 1 year ago • 4 comments

Problem Description

Describe your problem in detail. Include the following information:

  • Which AIR SDK did you use?

51.1.1.5

  • Describe the affected environment: Android vs. iOS, all devices vs. just specific models.

Windows

  • Can you reproduce it yourself, or did you get reports from other users? If so, how many users are affected (percentage)?

yes can be reproduced locally

Steps to Reproduce

Tell us how this issue can be reproduced. Seriously: if you want this issue to be fixed, this is the part you really need to get nailed.

Give us a minimal example:

			_applicationUpdater = new ApplicationUpdaterUI();
			_applicationUpdater.updateURL = "https://acme.com/foo/bar.xml";
			_applicationUpdater.isCheckForUpdateVisible = true;
			_applicationUpdater.addEventListener(UpdateEvent.INITIALIZED, updaterInitialized);
			_applicationUpdater.addEventListener(StatusUpdateEvent.UPDATE_STATUS, updateStatusHandler);
			_applicationUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, updateStatusErrorHandler);
			_applicationUpdater.addEventListener(ErrorEvent.ERROR, onError);
			_applicationUpdater.initialize();

..

		private function updateStatusErrorHandler(event:StatusUpdateErrorEvent):void {
			print("Update failed: " + event.text);
		}
[trace] Update failed: Unhandled exception Error: Error #1508: The value specified for argument renderMode is invalid.

Known Workarounds

remove or change the renderMode tag eg. cpu works fine, however this is problematic because of this bug https://github.com/airsdk/Adobe-Runtime-Support/issues/3527

johnou avatar Oct 21 '24 16:10 johnou

Problem persists with 51.1.2.1

johnou avatar Oct 22 '24 05:10 johnou

regression testing, problem predates 50.2.5.1, 50.1.1.2 , @ajwfrost I don't suppose there are any workarounds you can see to get it working with gpu?

johnou avatar Oct 22 '24 06:10 johnou

issue_3537_autoupdater.zip

attaching reproducer project

johnou avatar Oct 22 '24 06:10 johnou

tried all the way back to 33.1.1.935 maybe auto updater has never worked with <renderMode>gpu</renderMode>

johnou avatar Oct 22 '24 06:10 johnou