Jump to content

Custom editor won't work with Game Evaluation alpha


photo

Recommended Posts

Hi,

 

I have spotted an error with creating a fresh project (via browser.bat) and game framework.

 

Issue:

 

The editor in your custom project won't start. You got an error "get_num_Intersection(ObjectMesh mesh, vec3 p0, vec3 p1). ObjectMesh not defined." in editor_tools_illumination.

 

Problem:

 

The folders in your project class will not be created properly. In "data" you got the folder "editor". But that one have to be copied.

 

Solution:

 

- Copy the "editor" folder in "data/core".

- Edit "editor_hotkeys.h" in "data/core/editor/". Modify line 1869 to "string path = "core/editor/resources/presets/";".

 

 

That should solve the problem, and the editor will be loaded. Unfortionaly the game framework plugin still won't work, because of the error "XML::do_parse(): unknown xml token "/". XML::load(): can't load "framework/plugin/game_framework_plugin.cpp" file.".

 

 

Link to comment

Hi Christian,

 

Sorry, but we can't reproduce such behavior.

 

In the Unigine 2.0 alpha preview editor functionality was moved from core into the data directory (<SDK>/data/core/editor -> <SDK>/data/editor). New project generation from SDK Browser is also working as expected in Evaluation kit.

 

Also, the ObjectMesh class is no longer exists. Please, check the migration guide here: https://developer.unigine.com/en/docs/1.0/start/migration_guide/code_migration/engine_library_migration/node_functions_migration/objects_functions_migration#object_mesh_class

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...