Scirra / Construct-bugs

Public bug report submissions for Construct 3 and Construct Animate. Please read the guidelines then click the 'Issues' tab to get started.
https://www.construct.net
107 stars 83 forks source link

Crash with image points holding F2 :space_invader: #6887

Closed WilsonPercival closed 1 year ago

WilsonPercival commented 1 year ago

Problem description

Construct crashes.

Attach a .c3p

crash_bandicoot_image_points_r336s.zip

Steps to reproduce

  1. Open a project.
  2. Open the sprite animation editor.
  3. Click on the image point.
  4. Hold F2.
  5. Quickly click nearby.

Observed result

https://user-images.githubusercontent.com/91274932/230679074-995c7b4c-d1b8-41e6-b912-bcffed0e79d2.mp4

Expected result

Construct does not crash.

More details

Affected browsers/platforms: Chrome

First affected release: broke in r336s

System details

View details Error report information Type: unhandled rejection Reason: Error: expected string @ TypeError: expected string at O.l (https://editor.construct.net/r336/main.js:1030:79) at d.fb (https://editor.construct.net/r336/projectResources.js:732:464) at https://editor.construct.net/r336/projectResources.js:173:182 Stack: TypeError: expected string at O.l (https://editor.construct.net/r336/main.js:1030:79) at d.fb (https://editor.construct.net/r336/projectResources.js:732:464) at https://editor.construct.net/r336/projectResources.js:173:182 Construct version: r336 URL: https://editor.construct.net/ Date: Fri Apr 07 2023 18:24:15 GMT+0300 (Восточная Европа, летнее время) Uptime: 46.6 s Platform information Product: Construct 3 r336 (stable) Browser: Chrome 109.0.5414.120 Browser engine: Chromium Context: browser Operating system: Windows NT 0.1.0 Device type: desktop Device pixel ratio: 1 Logical CPU cores: 2 Approx. device memory: 4 GB User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Language setting: en-US WebGL information Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium) Numeric version: 2 Supports NPOT textures: yes Supports GPU profiling: no Supports highp precision: yes Vendor: Google Inc. (Google) Renderer: ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver) Major performance caveat: yes Maximum texture size: 8192 Point size range: 1 to 1023 Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, OES_draw_buffers_indexed, OES_texture_float_linear, WEBGL_compressed_texture_astc, WEBGL_compressed_texture_etc, WEBGL_compressed_texture_etc1, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_lose_context, WEBGL_multi_draw, OVR_multiview2
AshleyScirra commented 1 year ago

This is the same issue as #6890 and the fix for that fixed this too.