Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug? Error In Release Mode: "typeerror: E Is Undefined"

Discussion in 'Project Tiny' started by SINePrime, Apr 14, 2019.

  1. SINePrime

    SINePrime

    Joined:
    Jan 24, 2019
    Posts:
    54
    I'm having an issue releasing my game. When I have it my Build Configuration set to Release, my game doesn't work properly.

    I am given a series of errors in the console:
    Code (JavaScript):
    1. TypeError: asm.js type error: Disabled by debugger game.js
    2. TypeError: e is undefined[Learn More] 5:263:352
    3.     <anonymous> (index):263
    4.     <anonymous> (index):262
    5. TypeError: Module._main is not a function[Learn More] 1:12:690
    6.     callMain (index):12
    7.     e (index):12
    8.     main (index):12
    9.     <anonymous>
    It runs perfectly fine when Build Configuration is Development. Additionally, when I host the "Development" build on a web server, I'm given this error:

    Code (JavaScript):
    1. TypeError: vegabyte.rascaille.client.GameManagerSystem is not a constructor[Learn More] main.js:27:60
    2.     main http://127.0.0.1:5500/src/main.js:27
    3.     run http://127.0.0.1:5500/src/runtime.js:142752
    4.     adMain http://127.0.0.1:5500/src/runtime.js:143141
    5.     main http://127.0.0.1:5500/src/runtime.js:142756
    6.     <anonymous> http://127.0.0.1:5500/src/index.html:14
    Am I doing something wrong?
     
  2. SINePrime

    SINePrime

    Joined:
    Jan 24, 2019
    Posts:
    54