#170: Bad error message on missing sound file

rated by 0 users
This post has 0 Replies | 0 Followers

Top 10 Contributor
Posts 823

EDIT: Problem solved. See below. 

I thought this had been reported before, but several searches turned up no relevant posts, so I made a new one.

Phrogram gives me no errors until I run the program. Everything starts up fine, but right before the first frame is rendered, I get ambushed with this cryptic error - Twice in a row.

"Runtime error on line 157 in file BPhrog_alpha.kpl:
    Exception has been thrown by the target of an invocation."

What on earth does that mean?

The attached zip contains the faulty file and a screenshot of the error message.

Nevermind. I found the source of the problem: The class I was trying to "instance" with a variable was trying to load a nonexistent sound file.

But why does it give me a weird error? Why not just say "sound file not found" or something?
 

Page 1 of 1 (1 items) | RSS