Skip to content

Error/Crash app when using GLTF 1.0 #459

Closed
@cuog1598

Description

@cuog1598

When I try to setup the sample repos. I checked on emulator ios 15.5. when i change the sample gltf url to gltf 1.0 file. I haved Followed the setup steps in the Sample repos.

Error:
ERROR BJS - [15:07:22]: Unable to compile effect:
ERROR BJS - [15:07:22]: Uniforms: u_ambient, u_emission, u_light0Color, u_light0Transform, worldView, u_normalMatrix, projection, u_shininess, u_specular, u_diffuse
ERROR BJS - [15:07:22]: Attributes: normal, position, uv
ERROR BJS - [15:07:22]: Defines:
#define NUM_BONE_INFLUENCERS 0
#define NUM_MORPH_INFLUENCERS 0
ERROR BJS - [15:07:22]: Error: Exception in HostFunction: Unrecognized uniform type.
ERROR TypeError: defines.markAsUnprocessed is not a function. (In 'defines.markAsUnprocessed()', 'defines.markAsUnprocessed' is undefined)
ERROR Error: Exception in HostFunction: defines.markAsUnprocessed is not a function. (In 'defines.markAsUnprocessed()', 'defines.markAsUnprocessed' is undefined)
image
image

Other
I have try with another gltf 1.0 like my gltf 1.0 file
My app has been crashed
I also try playground too and that not help me to render gltf file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions