Generated HTML file shows only black screen
Cocos Creator 3.8.2 Building for web-mobile or web-desktop I'm testing the generated html with ad network tools and everything's fine in desktop browsers. However, when I test with AppLovin and Unity mobile apps on my phone, only empty screen is shown: no world camera rendering, no canvas, no Cocos logo. I played with .adapterrc parameters (isZip etc) - no chance. When building for web-desktop, the text in the html wrapper is seen (Project name in header and reference to cocos in footer), but the game screen itself is empty. Any ideas?
Can you provide more information? For example, what exceptions are shown in the browser developer tools?
I'm having the same issue on a simple 3D project with just two mesh renderers, a camera, and a light. Getting a black screen while testing the ad on AppLovin. There are no errors on the debug console.
I believe this only happens in 3D projects. I have a 2D project working without any issues. Cocos Creator version: 3.8.1
I downgraded to 3.6.0 and everything Ok now.
On 17 Apr 2024, at 13:55, Emir Uğur @.***> wrote:
I'm having the same issue on a simple 3D project with just two mesh renderers, a camera, and a light. Getting a black screen while testing the ad on AppLovin. There are no errors on the debug console.
I believe this only happens in 3D projects. I have a 2D project working without any issues. Cocos Creator version: 3.8.1
— Reply to this email directly, view it on GitHub https://github.com/ppgee/cocos-pnp/issues/13#issuecomment-2061196203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYUQFTLBACO4DOOLQTMC6LY5ZWKVAVCNFSM6AAAAABFZ32E2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRGE4TMMRQGM. You are receiving this because you authored the thread.
Downgrading to 3.6.0 solved it, thanks.