# Visuals for the next level don't load

**URL:** <https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335>\
**Category:** Solved\
**Created:** [February 11, 2014, 7:40pm UTC](https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335 "2014-02-11T19:40:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kenny/32/8779_2.png) [@kenny](https://discourse.codecombat.com/u/kenny)\
**Post date:** [February 11, 2014, 7:40pm UTC](https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335/1 "2014-02-11T19:40:42Z")

</div>

When I complete a level a dialog appears that has a button to move to the next level, but it doesn’t seem to work for me. Is anyone else seeing anything like this? The URL in my browser’s address bar changes when I click the button, and if I wait long enough I start to hear the audio for the new level, but the game window remains grey and the code from the completed level stays on the screen. I’m using Chrome (version 32.0.1700.77).

---

<div class="post-metadata">

**Author:** ![kenny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kenny/32/8779_2.png) [@kenny](https://discourse.codecombat.com/u/kenny)\
**Post date:** [February 11, 2014, 8:14pm UTC](https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335/2 "2014-02-11T20:14:49Z")

</div>

Sorry for any missing information (just so excited about helping out however I can)! But I just tried it again and capture the logs for it this time. I’m seeing a log for the “chat” window get destroyed (I can only guess that’s the end-level dialog) and then it throws this error: `Uncaught TypeError: Cannot call method 'postMessage' of null`. And then it moves on to load the next level, but this time it looks like it couldn’t find the audio files.

Full log printout after the end-level dialog appears:

> DESTROY CHAT rescue-mission app.js:2308  
> Uncaught TypeError: Cannot call method ‘postMessage’ of null app.js:101  
> Posted 1 error to [errorception.com](http://errorception.com) 51a79585ee207206390002a2.js:1  
> Building: Dungeon Wall Object {async: true} app.js:158  
> Building: Dungeon Floor Object {async: true} app.js:158  
> Building: Mushroom Object {async: true} app.js:158  
> Building: Tharin  
> Object {colorConfig: Object, async: true}  
> app.js:158  
> Building: Ogre M  
> Object {colorConfig: Object, async: true}  
> app.js:158  
> Building: Ogre Munchkin M Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Goal Trigger Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Peasant Object {resolutionFactor: 4, async: true} app.js:158  
> Building: House 1 Object {resolutionFactor: 4, async: true} app.js:158  
> Building: House 2 Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Well Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Shrub 2 Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Shrub 1 Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Tree 1 Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Grass Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Anya Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Wizard  
> Object {resolutionFactor: 4, async: true, colorConfig: Object}  
> app.js:158  
> Building: Highlight Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Selection Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Target Object {resolutionFactor: 4, async: true} app.js:158  
> Building: Repair Object {resolutionFactor: 4, async: true} app.js:158  
> GET [http://codecombat.com/file/db/thang.type/529e40856febb9ca7e000004/sword\_attack\_1.mp3](http://codecombat.com/file/db/thang.type/529e40856febb9ca7e000004/sword_attack_1.mp3) 404 (Not Found) vendor.js:1886  
> |Perkele’s Cheryl| The world ended in lost on frame 218 app.js:106  
> |Perkele’s Cheryl| raycasts: 116 app.js:106  
> Deserialization: 32ms (0.145ms per frame). 1 batches. app.js:1062  
> First changed frame is 0 with hash 1196435762 compared to undefined app.js:1064  
> SCRIPT: Skipping note group ‘undefined’ app.js:288  
> SCRIPT: Skipping note group ‘Tharin: Taste my blade!’ app.js:288  
> SCRIPT: Skipping note group ‘Trogdor: Needs ketchup.’ app.js:288  
> SCRIPT: Skipping note group ‘Tharin: Ow’ app.js:288  
> SCRIPT: Skipping note group ‘Click the timeline’ app.js:288  
> SCRIPT: Skipping note group ‘Wizards control time’ app.js:288  
> SCRIPT: Skipping note group ‘Tharin needs mushroom’ app.js:288  
> SCRIPT: Skipping note group ‘Tharin Highlight’ app.js:288  
> SCRIPT: Skipping note group ‘undefined’ app.js:288  
> SCRIPT: Skipping note group ‘Congrats’ app.js:288  
> SCRIPT: Skipping note group ‘Outta Here’ app.js:288  
> SCRIPT: Skipping note group ‘Deserter!’ app.js:288  
> SCRIPT: Skipping note group ‘undefined’ app.js:288  
> SCRIPT: Skipping note group ‘Start playback’ app.js:288  
> SCRIPT: Skipping note group ‘Pre-conflict’ app.js:288  
> SCRIPT: Skipping note group ‘Tharin Attacks’ app.js:288  
> SCRIPT: Skipping note group ‘Trogdor Dies’ app.js:288  
> SCRIPT: Skipping note group ‘Ending Highlight’ app.js:288  
> SCRIPT: Skipping note group ‘Victory!’ app.js:288  
> show vict Object {showModal: false} app.js:2598  
> |Enlil’s Pam| The world ended in lost on frame 378 app.js:106  
> |Enlil’s Pam| raycasts: 152 app.js:106  
> Deserialization: 51ms (0.135ms per frame). 1 batches. app.js:1062  
> First changed frame is 1 with hash 1196435764.2543888 compared to 1196435764.2721665 app.js:1064  
> GET [http://codecombat.com/file/db/thang.type/529e40856febb9ca7e000004/sword\_attack\_1.mp3](http://codecombat.com/file/db/thang.type/529e40856febb9ca7e000004/sword_attack_1.mp3) 404 (Not Found) vendor.js:1886

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [February 13, 2014, 5:15pm UTC](https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335/3 "2014-02-13T17:15:43Z")

</div>

Hi Kenny, I think I’ve fixed this one. Are you still seeing the same problem?

---

<div class="post-metadata">

**Author:** ![kenny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kenny/32/8779_2.png) [@kenny](https://discourse.codecombat.com/u/kenny)\
**Post date:** [February 14, 2014, 2:41pm UTC](https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335/4 "2014-02-14T14:41:42Z")

</div>

Nope, not anymore 🙂

---

<div class="post-metadata">

**Author:** ![andrewk](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@andrewk](https://discourse.codecombat.com/u/andrewk)\
**Post date:** [February 19, 2014, 11:25pm UTC](https://discourse.codecombat.com/t/visuals-for-the-next-level-dont-load/335/5 "2014-02-19T23:25:32Z")

</div>

I had the same issue and hadn’t taken time to report it yet. Happy to confirm that it’s fixed for me too!
