[164]Uncaught node.js Error

Bugs will be moved here once resolved.

Post » Fri Mar 14, 2014 11:47 pm

Problem Description
Game crashes with this report.
Uncaught node.js Error

TypeError: Cannot read property 'type' of undefined
at Parameter.get_familyvar (http://localhost:50000/eveng.js:2038:71)
at Action.run_object (http://localhost:50000/eveng.js:1727:32)
at EventBlock.run_actions_and_subevents (http://localhost:50000/eveng.js:850:38)
at EventBlock.run (http://localhost:50000/eveng.js:807:9)
at EventSheet.run (http://localhost:50000/eveng.js:187:7)
at Runtime.logic (http://localhost:50000/preview.js:2045:36)
at Runtime.tick (http://localhost:50000/preview.js:1721:8)
at Runtime.go_textures_done (http://localhost:50000/preview.js:1576:8)
at Runtime.go (http://localhost:50000/preview.js:1404:9)
at eval (http://localhost:50000/preview.js:1485:60)

Something to do with family variables?


Attach a Capx
CAPX

Description of Capx
Sestroying all family instances on start of layout crashes the game.

Steps to Reproduce Bug
  • Step 1 Run layout.

Observed Result
Uncaught node.js Error

Expected Result
No error.

Affected Browsers
  • Chrome: YES
  • FireFox: YES
  • Internet Explorer: (YES/NO) (Not tested)

Operating System and Service Pack
Windows 7 Ultimate 64-bit SP1

Construct 2 Version ID
164 (64-bit)
B
34
S
9
G
3
Posts: 517
Reputation: 5,276

Post » Sat Mar 15, 2014 12:20 am

Same, my report explains everything.

r164-family-variable-error_t99575
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sat Mar 15, 2014 12:29 am

Have the exact same problem, how and what caused it, and keeps causing it I don't know.

From disabling and trying different stuff, certain things seems odd.

It seems that certain event run even though there conditions are not met.

A very simple example is that I clear all rogue objects at the beginning of the layout, including all enemies.

However if I enable a event like this:

Enemy.Health <= 0 : Enemy.destroy

The game crashes completely, even though there are no enemies on the map.

This is the error I get:
Image

There was no problems in r163
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Mon Mar 17, 2014 2:41 pm

Closing as duplicate report
Scirra Founder
B
402
S
238
G
89
Posts: 24,637
Reputation: 196,071


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest