Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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