I’ve got an app that is running fine on iOS and the simulator, but when I try to run it on Android I get the following error:
Emulator: Trying to erase a non-existent color buffer with handle 0
The error occurs after playing a video. I was wondering if anyone else had had an issue like this before and what can be done to track the issue down as it’s a bit vague.
One of the big differences between the Android and iOS versions are that the videos are transferred to the app using iTunes File Sharing while on Android they are downloaded from AWS.
In both cases the videos are run using the command:
local onComplete = function(event) practiceslot.markPractice() daycounter.markStarted() logging.addData("circles shown",config.cirlces) composer.gotoScene("scenes.multiplechoice",{params={ .... end media.playVideo(config.file,system.DocumentsDirectory,false,onComplete)
The first three lines in the on complete listener are writing json files to the DocumentDirectory and the multiplechoice scene has already been shown a few times before the video plays.
The app runs fine until the video completes, at which point it closes on the device without warning. In the simulator I got the above error. Any thoughts?