Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.85k stars 819 forks source link

Painter.drawFromCache but BatchProcessor._batches is empty #867

Closed fangwy closed 8 years ago

fangwy commented 8 years ago

cache

PrimaryFeather commented 8 years ago

Thanks for creating the ticket!

I do believe you that this is happening; there must be a specific situation that causes this problem, that I didn't anticipate. However, from the call stack alone, I can't reproduce the problem.

I have to ask to you try to dig deeper and find out what exactly you are doing that's triggering the error. Ideally, I'd need a minimal sample code that I can start on my development machine and get the same exception. That's the only way I can solve this.

Thanks a lot in advance!

vaudevillian commented 8 years ago

Hi everyone,

this sounds very familiar to me. In my case, it was resolved by this: http://forum.starling-framework.org/topic/multiple-starling-instances-the-painterframeid?replies=1#post-93053

Maybe have a look at this, fangwy

PrimaryFeather commented 8 years ago

Ah, you're right! That brought up exactly that error — thanks, vaudevillian! In that case, fangwy, you'd just have to update to the head revision.

fangwy commented 8 years ago

Hi Daniel, update to the head revision,fixed the problem. Thank you!

PrimaryFeather commented 8 years ago

That's great news! :smile: