Comments (11)
I think we should check extension to do it.
from cocos-engine.
Do you have a demo to reproduce it?
from cocos-engine.
just enable PostProcess for your project and on this specific Android device you will not see anything on the screen. In any case, I created an example for you: pp_bug.zip
I could help with testing, if it will be required.
from cocos-engine.
Have you tried on other Android devices? I don't have the specific Android device.
from cocos-engine.
no problems on other Android devices that I have
from cocos-engine.
The issue seems caused by it
E/Cocos: 21:47:46 [ERROR]: [SE_ERROR] (C:/ProgramData/cocos/editors/Creator/3.8.3/resources/resources/3d/engine/native/cocos/bindings/manual/jsb_global.cpp, 1370): wrong number of arguments: 0, was expecting 1
Could you please print the javascript call stack by invoking ScriptEngine::getInstance()->getCurrentStackTrace()
from cocos-engine.
Doesn't look like it, something wrong with GLES setup itself. Texture cannot be created:
glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH24_STENCIL8_OES, 800, 480, 0, GL_DEPTH_STENCIL_OES, GL_UNSIGNED_INT_24_8_OES, nullptr)
from cocos-engine.
This line causes the issue:
And it must be:
case Format::DEPTH_STENCIL: return GL_DEPTH_STENCIL_OES;
Since GL_DEPTH24_STENCIL8_OES
is not supported on some devices with GLES2.0 backend (see Usage Example section). Could you make a PR? Or I could do this.
from cocos-engine.
@Skroopa thanks a lot. We can make a PR if it is not convenient for you to do it.
from cocos-engine.
yes please, create the PR.
NOTE: PostProcess doesn't work still, but this fix will help only with 0x501, 0x506 GL errors on texture creation.
from cocos-engine.
This line causes the issue:
And it must be:
case Format::DEPTH_STENCIL: return GL_DEPTH_STENCIL_OES;
Since
GL_DEPTH24_STENCIL8_OES
is not supported on some devices with GLES2.0 backend (see Usage Example section). Could you make a PR? Or I could do this.
As less bit will have less precision. So i am not sure if it is a good idea to modify it for all android devices.
from cocos-engine.
Related Issues (20)
- The web platform window-resize, orientation-change, and fullscreen-change events are not dispatched.
- 3.8.3 Pass.overridePipelineStates() mobile crash
- Tiled文件对象层属性读取错误 HOT 2
- compile script only function support in 3.x(3.x支持只构建脚本)
- Show loading progress for multiple resources
- [spine相关] 动画倒放时, "在指定区间内播放"的功能失效
- [EDITOR相关] 2D模式下 难以定位到 缩放 移动 调整大小 等工具的控制点. HOT 3
- typescript non-empty assertion operator is invalid HOT 4
- GameActivity onPauseNative ANR
- [spine相关] 通过 setCompleteListener 添加的事件, 有时候不会被触发
- tsconfig useDefineForClassFields does not work HOT 1
- when windows update to windows11, the creator can not open project HOT 1
- Box selection doesn't work in 2d scene
- s HOT 2
- when a picture be set to sprite-frame, then use texture and sprite-frame resources will occur errors
- Splash Setting occur 403 forbidden, while update it from others
- Setting import-map.json to Import Map,after clear the path of it, it still occur error in the packing HOT 2
- [EDITOR相关] 试图选择 复杂属性中的text框内的文本时, 变成拖拽这个属性了
- collide Events needs rigidbody in Cocos 3.8x but dont need in Cocos 3.7.4
- AssetsManagerEx.cpp AssetsManagerEx::prepareUpdate, cost a lot of times HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocos-engine.