-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0
-
None
-
-
494a1be6d5 (qt/qtquick3d/dev) bd7f0e9041 (qt/qtquick3d/6.2) 6021c6b138 (qt/qtquick3d/6.3) bd7f0e9041 (qt/tqtc-qtquick3d/6.2) 6021c6b138 (qt/tqtc-qtquick3d/6.3) bd7f0e9041 (qt/tqtc-qtquick3d/6.2.3) bd7f0e9041 (qt/tqtc-qtquick3d/6.2.4)
If DirectX is used and there are more then 8 light sources with enabled shadow casting, application crashes with error:
"Too many shadow casting lights in scene, maximum is 8"
The problem is not reproducible of OpenGL is used instead.
To reproduce:
1) Open "Lights Example".
2) Create 8 duplicates of node "light2".
3) Set castsShadow: true to all the new nodes.
In Qt 6.1.0 the console gets spammed with the message, but there is no crash.
For Gerrit Dashboard: QTBUG-98749 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
386461,3 | Fix crashing for more than eight lights | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
387076,2 | Fix crashing for more than eight lights | 6.3 | qt/qtquick3d | Status: MERGED | +2 | 0 |
387077,2 | Fix crashing for more than eight lights | 6.2 | qt/qtquick3d | Status: MERGED | +2 | 0 |