Crash after publishing

Posted By: Vyshess

Crash after publishing - 08/14/16 07:42

Hi! I finished my new game but now there is a problem with the published version. It loads the firt map (menu) and everything works fine. But when I start the first level it crashes by loading the new map. It`s definitely a problem with the levelmap.Code is fine because by replacing the map with another it doesn`t crash. But I can`t find the error, because it crashes only in the published version. Everything works fine in the Editors.

Any ideas??
Posted By: Reconnoiter

Re: Crash after publishing - 08/14/16 09:09

Hi,

Do you have set warn_level high?
My quess would be missing:
- file(s) like e.g. models, sprites or sound/music files.
- maybe missing fx/shader files? -> http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=458811&nt=2&page=1
Posted By: Vyshess

Re: Crash after publishing - 08/17/16 08:00

Thx for your answer. I was wrong. I build the level again.Step by step and found a function that crashes the skript. It was a missing "()". But why was that not shown as an syntax error ?? And now there is a new problem. After reaching a
height of z = 8200 (sometimes at 10200)suddenly all sprites and models are invisible. But not anytime. What could cause that? Its so frustrating...
Posted By: Anonymous

Re: Crash after publishing - 08/17/16 09:22

The sprites have left the level. Ie level size. Rebuild the level but in the advanced level settings adjust the max level size slider to make the level larger. Also be sure to manage you clip.far range.
Posted By: Vyshess

Re: Crash after publishing - 08/18/16 08:33

I already did all this.
warn_level -> doesn`t show me anything
max level size -> doesn`t solve the problem (same with clip.far)

The sprites and entities haven`t left the level because I can hear that the player still can jump on them. His z.pos is increasing while doing that. So everything is just invisible. And NOW(!) the problem is even appearing in the editors and not only in the published version. Befor publishing, everything works fine. But after that,it feels like the game becomes broken more and more.
Posted By: Anonymous

Re: Crash after publishing - 08/18/16 19:19

Well there are a few test you can try and then a second set of eyes.

are the sprites CLIPPED http://www.conitec.net/beta/ae_clipped.htm as their CLIPPED flag is set when they disappear? Alternatively you can watch the default debug panel and see if the VIS number decreases when the sprites disappear.Or check the value of num_visents http://www.conitec.net/beta/anum_visents.htm


A Published project will use the largest nexus set in any one level through wed if the -nx commandline isn't used, so is the nexus correct? Not sure this is a issue or fix. http://www.conitec.net/beta/anexus.htm


You can test if the behavior is the same in fullscreen vs windowed mode...

I can not be sure but possibly it's a sorting issue http://www.conitec.net/beta/ad3d_entsort.htm

You can check and (maybe) set level size and values with http://www.conitec.net/beta/level_ent.htm

It may in some way be that the sky is covering the sprites... But I'm not sure how if clip rangers are correct.. And the level size is large enough.


I can't guess to a solution, so maybe a forum search will lead you best. Otherwise you can ask a troubleshoot to work with the actual project files and even rule out a hardware issue.. I think the forum search is limited one year backward.

Last you can ask the Dev's and possibly submit the project to the Support team, however it will do you no good if they can not repeat the behavior on their end... But this might be the step you're most near at this point..

Good Luck
© 2024 lite-C Forums