Export camera in wrong place

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

When I exported my game instead of displaying the proper menu with buttons and a 3d backdrop it showed a colorless dark image of the backdrop from an angle with no camera and the 2d part with buttons was gone, and it worked right from the editor.

Just some questions:
Export from what platform to which platform.
Which godot version?
If godot 3.1: GLES2 or GLES3 ?

Camera / Gui? Do you use a 3D gui?

wombatstampede | 2019-02-12 11:54

I use Godot 3.0.6 and the camera that is showing up wrong is the 3d one and the 2d one has buttons that won’t show at all. The game works fine in the engine. I exported from Windows to Windows.

Goofyblocks | 2019-02-12 23:43

I have no problem exporting a 100% 2d game

Goofyblocks | 2019-02-14 01:30

Editor View and Runtime view should not be compared.

But if you run your project inside the editor/debugger it should not look different from the exported one… at least on the same platform, like here on windows.

Perhaps you can add some screenshots of the problem.
For example: One of your nodelist of the scene including the scene preview in the editor. One how it looks when run in the editor/debugger and one how it looks when exported and run.

Basically, when things look different in Editor Run and Export Run then this could be caused by resources not being found/exported. Normally Godot 3.x imports/converts all resources added to your project directory. So this should not be a problem as long as you’re not referencing resources outside the project directory. (I.e. load textures from C:\someotherdir\test.png or so).

wombatstampede | 2019-02-14 08:10

Could this be caused by using blender without the collada export plugin? Cause I
have done that.

Goofyblocks | 2019-02-14 22:58

Goofyblocks, my crystal ball says yes. :wink:

Generally speaking, using the blender without the better collada export plugin could cause i.e. the axis being swapped or material/textures being in external paths (although godot import should notice that).

wombatstampede | 2019-02-15 08:12