Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-18 Thread Xavier Bigand
I also open a bug report for the memory management : https://bugreports.qt.io/browse/QTBUG-54194 2016-06-17 14:52 GMT+02:00 Xavier Bigand : > https://bugreports.qt.io/browse/QTBUG-54184 > > For the leaks I need to check, but firstly it seems that textures stay in > RAM even when already in VRAM.

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Xavier Bigand
https://bugreports.qt.io/browse/QTBUG-54184 For the leaks I need to check, but firstly it seems that textures stay in RAM even when already in VRAM. 2016-06-17 12:33 GMT+02:00 Sean Harmer : > Hi, > > On Friday 17 June 2016 12:11:56 Xavier Bigand wrote: > > I finally found a work around to fix my

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Sean Harmer
Hi, On Friday 17 June 2016 12:11:56 Xavier Bigand wrote: > I finally found a work around to fix my crash when loading models > after few unload. > > I simply release myself all children of the delete entity with the > following recursive method : > > > voidreleaseModel(Qt3DCore::QNode&

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Xavier Bigand
I finally found a work around to fix my crash when loading models after few unload. I simply release myself all children of the delete entity with the following recursive method : voidreleaseModel(Qt3DCore::QNode& model) { QEntity*entity = dynamic_cast(&model);

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Xavier Bigand
Thank for the report. I was not sure if it wasn't me doing something wrong. But it might be the case, because the assert seems to come from a bad ressources management. When I switch projects I simply delete entities that attached to the root one, but doing this leads to the assert at a certain t

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Harald Vistnes
I get the same QMetaProperty::read warning. I just filed a Jira for it. https://bugreports.qt.io/browse/QTBUG-54159?filter=17174 Annoying and it came recently, but not critical as you can continue running the debugger. Harald 2016-06-16 17:53 GMT+02:00 Xavier Bigand : > Sometimes when it doesn'

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Xavier Bigand
Sometimes when it doesn't crash on the first scene switch I can get this assert : ASSERT: "m_entries[index].m_counter == handle.counter()" in file c:/Users/qt/work/qt/qt3d/src/core/resources/qhandlemanager_p.h, line 170 Sadly it seems that I am not able to debug it with source code. 2016-06-16 17

[Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Xavier Bigand
I am getting the following message when I unload a scene. I am simply deleting the entities I don't have to display anymore. QMetaProperty::read: Unable to handle unregistered datatype 'Qt3DRender::QBuffer*' for property 'Qt3DRender::QAttribute::buffer' What is the proper way to unload meshes in