We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Unkown commands in renderQueue
Unkown commands in renderQueue
我也遇到这个问题了,如果解决了,希望能通知我,我用的是3.1.1,wushi333333@163.com.谢谢
There is an thread opened in the forum, which is used for talking about the bug.
Link:
http://discuss.cocos2d-x.org/t/bugs-for-unknown-commands-in-renderer/16865
We can discuss it in detail there
Thanks.
As discussed in the forum, the bug could be solved like this:
1. Basically, renderCommand could only be added to renderer in the function Director::DrawScene()
2. If there is any command added to render out of the Director::DrawScene()
, user should called renderer->render()
manually.
This is not a final solution, we will continue working on this to find a better solution.
This is is going to be postponed
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8534
How to reproduce this issue:
cocos new -l cpp
to create a new project