[SOLVED] Whenever I add a WorldEvironment node with an environment my game won't play.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Bot.13

Solution:
In Project Settings/Rendering/Quality
reset all settings to default.

Hey everybody,

I can’t seem to start my game up whenever I WorldEnvironment node with an environment that isn’t ignored.
Computer specs:
Model Name: MacBook Pro (Retina, 13-inch, Mid 2014)
Processor: 3 GHz Intel Core i7
Memory: 8 GB 1600 MHz DDR3

Godot V: V3.0.6.stable.official.8314054

Error message:
ERROR: operator: FATAL: Index p_index=0 out of size (size()=0)
At: core/vector.h:138.
handle_crash: Program crashed with signal 4
1 1 libsystem_platform.dylib 0x00007fffc63a0b3a _sigtramp + 26
2 2 ??? 0x0000000000000000 0x0 + 0
[3] VisualServerScene::render_empty_scene(RID, RID) (in Godot) + 320
[4] VisualServerViewport::_draw_viewport(VisualServerViewport::Viewport*, ARVRInterface::Eyes) (in Godot) + 5052
[5] VisualServerViewport::draw_viewports() (in Godot) + 749
[6] VisualServerRaster::draw(bool) (in Godot) + 97
[7] Main::iteration() (in Godot) + 992
[8] OS_OSX::run() (in Godot) + 402
[9] main (in Godot) + 832
[10] 10 libdyld.dylib 0x00007fffc6191235 start + 1
[11] 11 ??? 0x0000000000000003 0x0 + 3
– END OF BACKTRACE –
1 13267 abort Godot -d -verbose

Hope this is enough information.

What I would like:

What I get when I press play:

Kindest of regards,
Me

You need to start Godot i debug / verbose mode to get more info about your issue, so you need to add -d and -verbose before launching the process, ex:

./Godot_v3.0.6-stable_x11.64 -d -verbose

It is probably a bad resource (picture, font, sound…) causing the crash…

Good luck !

GameVisitor | 2018-11-03 06:32

Have some more info. I can’t seem to make sense of it though.

Bot.13 | 2018-11-03 14:34

Share them so we can help :slight_smile:

GameVisitor | 2018-11-04 16:37

Hey,
I added it to the original message.

ERROR: operator: FATAL: Index pindex=0 out of size (size()=0)
At: core/vector.h:138.
handlecrash: Program crashed with signal 4
1 1 libsystemplatform.dylib 0x00007fffc63a0b3a _sigtramp + 26
2 2 ??? 0x0000000000000000 0x0 + 0
[3] VisualServerScene::renderemptyscene(RID, RID) (in Godot) + 320
[4] VisualServerViewport::drawviewport(VisualServerViewport::Viewport*, ARVRInterface::Eyes) (in Godot) + 5052
[5] VisualServerViewport::drawviewports() (in Godot) + 749
[6] VisualServerRaster::draw(bool) (in Godot) + 97
[7] Main::iteration() (in Godot) + 992
[8] OS_OSX::run() (in Godot) + 402
[9] main (in Godot) + 832
[10] 10 libdyld.dylib 0x00007fffc6191235 start + 1
[11] 11 ??? 0x0000000000000003 0x0 + 3
– END OF BACKTRACE –
1 13267 abort Godot -d -verbose

Kind regards,
Bot.13

Bot.13 | 2018-11-04 20:59

How did u solve it ? what was the issue ?

GameVisitor | 2018-11-18 06:14