Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Ena.swf #15487

Open
FlashBacks1998 opened this issue Mar 8, 2024 · 0 comments · May be fixed by #15495
Open

Crash on Ena.swf #15487

FlashBacks1998 opened this issue Mar 8, 2024 · 0 comments · May be fixed by #15495
Labels
bug Something isn't working panic Hit a panic stage3d

Comments

@FlashBacks1998
Copy link

Describe what you were doing

Working on a demo for the Ruffle Game jam. Failed to load a obj file with the Away3D Framework
Ena.zip

What does the crash message say?

panicked at C:\Users\runneradmin.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-0.19.3\src\backend\wgpu_core.rs:3006:5:
wgpu error: Validation Error

Caused by:
In a RenderPass
note: encoder = <CommandBuffer-(3, 1, Vulkan)>
In a pass parameter
note: command buffer = <CommandBuffer-(3, 1, Vulkan)>
Multiview layer count must match

Ruffle Version

0.1.0-nightly (571f60a 2024-03-05)

Affected platform

Desktop app

Operating system

Windows 10.0.19045 (Windows 10 Home) [64-bit]

Additional information

Filename: Ena.swf

AVM2 Callstack

	at flash.display3D::Context3D/flash::display3D::Context3D::drawTriangles()
	at away3d.core.managers::Stage3DProxy/drawTriangles()
	at away3d.materials.passes::DistanceMapPass/render()
	at away3d.materials::MaterialBase/renderDepth()
	at away3d.core.render::DepthRenderer/drawRenderables()
	at away3d.core.render::DepthRenderer/draw()
	at away3d.core.render::RendererBase/executeRender()
	at away3d.core.render::RendererBase/render()
	at away3d.lights.shadowmaps::CubeMapShadowMapper/drawDepthMap()
	at away3d.lights.shadowmaps::ShadowMapperBase/renderDepthMap()
	at away3d.core.render::DefaultRenderer/updateLights()
	at away3d.core.render::DefaultRenderer/executeRender()
	at away3d.core.render::RendererBase/render()
	at away3d.containers::View3D/render()
	at scenes::Maze/onEnterFrame()

Render Info

Renderer: wgpu
Adapter Backend: Vulkan
Adapter Name: "NVIDIA GeForce RTX 2080 Super with Max-Q Design"
Adapter Device Type: DiscreteGpu
Adapter Driver Name: "NVIDIA"
Adapter Driver Info: "551.52"
Enabled features: Features(FLOAT32_FILTERABLE | TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT)
Available features: Features(DEPTH_CLIP_CONTROL | TIMESTAMP_QUERY | INDIRECT_FIRST_INSTANCE | SHADER_F16 | BGRA8UNORM_STORAGE | RG11B10UFLOAT_RENDERABLE | DEPTH32FLOAT_STENCIL8 | TEXTURE_FORMAT_16BIT_NORM | PIPELINE_STATISTICS_QUERY | TIMESTAMP_QUERY_INSIDE_PASSES | MAPPABLE_PRIMARY_BUFFERS | TEXTURE_BINDING_ARRAY | BUFFER_BINDING_ARRAY | STORAGE_RESOURCE_BINDING_ARRAY | SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING | UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING | PARTIALLY_BOUND_BINDING_ARRAY | MULTI_DRAW_INDIRECT | MULTI_DRAW_INDIRECT_COUNT | PUSH_CONSTANTS | ADDRESS_MODE_CLAMP_TO_ZERO | ADDRESS_MODE_CLAMP_TO_BORDER | POLYGON_MODE_LINE | POLYGON_MODE_POINT | CONSERVATIVE_RASTERIZATION | VERTEX_WRITABLE_STORAGE | CLEAR_TEXTURE | SPIRV_SHADER_PASSTHROUGH | MULTIVIEW | TEXTURE_FORMAT_NV12 | RAY_TRACING_ACCELERATION_STRUCTURE | RAY_QUERY | SHADER_F64 | SHADER_I16 | SHADER_PRIMITIVE_INDEX | DUAL_SOURCE_BLENDING)
Current limits: Limits { max_texture_dimension_1d: 32768, max_texture_dimension_2d: 32768, max_texture_dimension_3d: 16384, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 65536, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 64, min_storage_buffer_offset_alignment: 32, max_inter_stage_shader_components: 31, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 }
Surface quality: low
Surface samples: 1
Surface size: (800, 600, 1)

@FlashBacks1998 FlashBacks1998 added bug Something isn't working panic Hit a panic labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working panic Hit a panic stage3d
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants