ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.1k stars 776 forks source link

Error on https://unblockedgames.blogbucket.org/theme-hotel/ #13062

Closed m2ns closed 10 months ago

m2ns commented 10 months ago

Error Info

Error name: Error Error message: panicked at 'wgpu error: Validation Error

Caused by: In CommandEncoder::copy_texture_to_buffer Copy error Copy of X 0..5004 would end up overrunning the bounds of the Source texture of X size 4096

', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.3/src/backend/direct.rs:3019:5 Error stack:

Error: panicked at 'wgpu error: Validation Error

Caused by:
    In CommandEncoder::copy_texture_to_buffer
    Copy error
    Copy of X 0..5004 would end up overrunning the bounds of the Source texture of X size 4096

', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.3/src/backend/direct.rs:3019:5
    at V.n.wbg.__wbg_new_d258248ed531ff54 (https://unblockedgames.blogbucket.org/ruffle/core.ruffle.6fe0bf29459fa15846ac.js:1:51553)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::h665574cf5fec7903 (wasm://wasm/02fe7e36:wasm-function[9263]:0x8f7712)
    at std::panicking::rust_panic_with_hook::h6df5db7ad9f65dc8 (wasm://wasm/02fe7e36:wasm-function[6061]:0x7f62f6)
    at core::panicking::panic_fmt::h2d3c5586175098d9 (wasm://wasm/02fe7e36:wasm-function[9105]:0x8f3084)
    at core::ops::function::Fn::call::hfff022dcf68489d3 (wasm://wasm/02fe7e36:wasm-function[6741]:0x8367ea)
    at wgpu::backend::direct::ErrorSinkRaw::handle_error::hdaac7a9dec0bc1a6 (wasm://wasm/02fe7e36:wasm-function[4841]:0x75a1b7)
    at wgpu::backend::direct::Context::handle_error::hdc3e87d7bbbb00e9 (wasm://wasm/02fe7e36:wasm-function[2597]:0x5cb99c)
    at <T as wgpu::context::DynContext>::command_encoder_copy_texture_to_buffer::h5512ede0afeb509d (wasm://wasm/02fe7e36:wasm-function[6651]:0x82fdf3)
    at wgpu::CommandEncoder::copy_texture_to_buffer::h9525bd83d550f052 (wasm://wasm/02fe7e36:wasm-function[5678]:0x7d9dab)
    at <ruffle_render_wgpu::QueueSyncHandle as ruffle_render::bitmap::SyncHandle>::retrieve_offscreen_texture::h14058df32375850a (wasm://wasm/02fe7e36:wasm-function[1650]:0x485fc8)

AVM2 stack:

    at flash.display::BitmapData/flash::display::BitmapData::getColorBoundsRect()
    at FGKit::Utils$/RenderMCToBitmapData()
    at FGKit.Graphics::MovieClipEx/GetCachedBitmaps()
    at FGKit.Graphics::MovieClipEx/GetLocalBounds()
    at FGKit.Graphics::MovieClipGraphic/GetLocalBounds()
    at FGKit.World::Entity/GetWorldBounds()
    at FGKit.World::SectorMap/IsEntityFitsSector()
    at FGKit.World::SectorMap/AddEntity()
    at FGKit.World::World/AddEntity()
    at FGKit.Serializers::WorldXmlDeserializer/DeserializeEntityBatch()
    at FGKit.Serializers::WorldXmlDeserializer/DeserializeEntities()
    at FGKit.Serializers::WorldXmlDeserializer/DeserializeWorld()
    at Hotel.AppStates::LevelState/OnEnter()
    at FGKit.AppStates::StateManager/SetCurrentState()
    at HotelCommon.GUI::NewHotelNameWindow/OnOkClick()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Intel Open Source Technology Center, Mesa DRI Intel(R) UHD Graphics 600 (GLK 2), OpenGL ES 3.2)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS) Available features: Features(TEXTURE_COMPRESSION_BC | TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | TEXTURE_COMPRESSION_ASTC_HDR | CLEAR_TEXTURE) Current limits: Limits { max_texture_dimension_1d: 4096, max_texture_dimension_2d: 4096, max_texture_dimension_3d: 1024, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 640, 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: 16384, 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: 32, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 60, 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: 96 } Surface quality: high Surface samples: 4 Surface size: Extent3d { width: 550, height: 400, depth_or_array_layers: 1 } Player type: Object SWF URL: https://files.blogbucket.org/file/flashfiles/2018/theme-hotel.swf Param allowNetworking: internal Attribute 0: undefined Attribute 1: undefined Attribute 2: undefined Attribute 3: undefined Attribute 4: undefined Attribute 5: undefined Attribute 6: undefined

Page Info

Page URL: https://unblockedgames.blogbucket.org/theme-hotel/ SWF URL: https://files.blogbucket.org/file/flashfiles/2018/theme-hotel.swf

Browser Info

User Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Platform: Linux x86_64 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2023-08-18 Channel: nightly Built: 2023-08-18T00:23:15.604Z Commit: 96faa8c5cebe22ccdd0ae0b8883834313cb690e4 Is extension: false

Metadata

width: 700 height: 500 frameRate: 30 numFrames: 2 swfVersion: 11 backgroundColor: undefined isActionScript3: true uncompressedLength: 3885859

n0samu commented 10 months ago

Duplicate of #13061