godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.34k stars 21.06k forks source link

GridMap with MeshLib always throws error #36881

Closed kubaxius closed 4 years ago

kubaxius commented 4 years ago

Godot version: Godot Engine v3.2.stable.official

OS/device including version: Windows 10 Home Edition

Issue description: Whenever you put Gridmap with MeshLib connected in your scene it always throws this error:

get_item_preview: MeshLibrary item previews are only generated in an editor context, which means they aren't available in a running project. <C++ Source> scene/resources/mesh_library.cpp:206 @ get_item_preview()

Which in my case completely floods game console.

Steps to reproduce:

  1. Create GridMap instance and connect some MeshLib to it
  2. Start project

Minimal reproduction project: test.zip

Calinou commented 4 years ago

This was fixed in #36288 (which is available in Godot 3.2.1), closing.