Class is not defined

Post your help queries and engine programming questions here

Class is not defined

Postby obelus » Tue May 30, 2017 8:34 am

Hi, im currently progressing through the video tutorials and i am stuck on number two.
specifically when i try to steam my ExampleEntity i get this error.

Uncaught IGE *error* [IgeStreamComponent] : Network stream cannot create entity with class ExampleEntity because the class has not been defined! The engine will now stop.

I dont belive i have dont anything other that what is covered in the video's

I have made sure there is a reference to the ExampleEntity File in my client and server config files and cant seem to figure it out any ideas?

is the stream component the piece that's not defined?
Posts: 1
Joined: Tue May 30, 2017 7:15 am

Re: Class is not defined

Postby rob » Wed Jul 12, 2017 10:51 am

Hey ya,

I'm not sure what would cause that except the video tutorials might be slightly out of date with the newer updates to the engine.

Could you try to base your work off one of the example projects in the examples folder and see if that works for you?
CEO & Lead Developer
Irrelon Software Limited
User avatar
Site Admin
Posts: 316
Joined: Tue Oct 22, 2013 5:08 pm

Re: Class is not defined

Postby mvgribbin » Tue Oct 03, 2017 5:29 pm

Wanted to add a reply to this in case anyone else runs into this issue.

I believe the problem was that on the client config I had forgotten a /

I notice the same issue in your code, maybe the video was hard to read.

You have:

Code: Select all

where you should have

Code: Select all

After making this change and clearing my cache, I went from having the same error as you to a working client displaying the triangle seen in the tutorial video. Hope this helps someone else! Those of us getting used to this syntax for the first time are prone to miss the little things.
Posts: 1
Joined: Tue Oct 03, 2017 5:16 pm

Return to Help & Questions

Who is online

Users browsing this forum: No registered users and 1 guest