[SOLVED]How do I Fix my project? (unhandled rejection)

0 favourites
  • 2 posts
  • Hello, I've encountered a problem that has broken my project.

    Right after I saved it I quit the project to restart it and there was an error.

    For me this clearly comes from a local variable which has the same name several times in the project

    Date: Tue May 12 2020 17:55:18 GMT+0200 (heure d’été d’Europe centrale)

    Uptime: 508.7 s

    Platform information

    Browser: NW.js

    Browser version: 0.44.0

    Browser engine: Chromium

    Browser architecture: 64-bit

    Context: nwjs

    Operating system: Windows

    Operating system version: 10

    Operating system architecture: 64-bit

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 8

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364) NWjs/0.44.0 (like Chrome/80.0.3987.87)

    C3 release: r197.2 (stable)

    Language setting: fr-FR

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Google Inc.

    Renderer: ANGLE (NVIDIA GeForce GTX 1070 Direct3D11 vs_5_0 ps_5_0)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_filter_anisotropic, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context, OVR_multiview2

    I'm currently trying to convert the project into a ZIP and rename the variables, and I'm trying to fix it myself if you have any ideas that will save my life!

    Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I managed to fix it.

    1.download a copy of the project in c3p format

    2.Change the extension to zip and > extract all.

    3. EventSheets.TXT > Event sheet where your variable is present open with a test editor (Notepad)

    4. Add this Below : In the first lines.

    For number variable :

    this creates a variable called bug

    5.now with the text editor search

    All places where your variable is present

    To search on notepad CTRL+F

    Most of the time you will have "variable": "YOUR_VARIABLE",

    Replace it with Bug

    Attention to the syntax do not delete any replaceable characters only.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)