-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Debugging
Nick Winter edited this page May 4, 2023
·
2 revisions
When you are creating levels from the level editor, you'll usually see a message that says Infinite loop detected, unable to load level. This guide will introduce you to debugging your own level from the level editor.
The first thing you do when getting out of the error message is by going to the console log of the browser.
- Go open the console using Windows:
CMD
+Shift
+J
and Mac:CMD
+ALT
+J
. - Check if there's any message like,
Error: Unable to load thang
. - If it's something related to cannot spawn thang type, then it's the referee code that's probably wrong. Check if there's actually the thang in the spawnable and buildable component of the referee.
- This also happens when there is too many thangs. So try deleting some if you have over 50+ moving thangs.
- Only have one hero in a level, if there's two heroes with some extra component, it'll return an error
If you can't seem to debug, please feel free to ask for help on Slack or discourse.codecombat.com and we'll help you!
CodeCombat | Home | Blog | Forum | Teachers | Legal | Contribute
- Home
- Archmage Home
- Artisan Home
- Diplomat Home
- Archmage General
- Mission statement
- Coco Models
- Coding Guidelines
- Cookbook
- File system
- JSON Schema
- Technical overview
- Testing
- Third party software and services
- Artisan General
- Building A Level
- Coding Guidelines for Artisans
- Editing Thang Components
- Important Artisan Concepts
- Keyboard Shortcuts
- Debugging
- Artisan How-To Index
- Diplomat General
- i18n
- i18n Glossary nb
- i18n Glossary ru
- i18n Glossary es-419
- Dev Setup
- Dev Setup: Linux
- Dev Setup: Windows
- Dev Setup: Mac
- Dev Setup: Vagrant
- Dev Setup: Issues
- Game Engine
- Component
- Multiplayer
- Surface
- System
- Thang
- Thang Component System
- Tome
- World
- Artisan Tabs
- Components And Systems
- Scripts
- Settings
- Thangs
- Other
- Aether
- Client models
- Developer organization
- Educational Standards
- Events, subscriptions, shortcuts
- Chat Room
- Chat Room Rules
- Permissions
- Project Ideas List
- Treema
- Versioning
- Views