Jump to content

[SOLVED] Reinstantiating the Unigine Engine


photo

Recommended Posts

We have been reinstantiating the Unigine Engine in our project for some time now, but lately in the more recent updates of Unigine we have been getting crashes on calling engine->runworld functions after we shutdown and reinstatiate the engine. Here is a small program that reinstantiates the engine and will crash. How is it that we could do this in older builds? Bug?

 

#include <Unigine.h>

using namespace Unigine;

int main(int argc, char **argv) {
Engine *engine = Engine::init(UNIGINE_VERSION,argc,argv);
engine->main();
Engine::shutdown();
engine = NULL;
engine = Engine::init(UNIGINE_VERSION,argc,argv);
engine->main();
Engine::shutdown();
engine = NULL;
return 0;
}

Link to comment

Hey Carl,

 

That seems strange, I've built your code and put it as main Oil Rush executable and it works fine. Could you specify details?

Link to comment

Well since posting this I've recoded so that we only initialise Unigine engine once now, loading new worlds to it as we need them and hiding the control when we don't need to show it, and this in some ways works better than reinstantiating. But for the record this is what we were getting when we ran the above code (using a modified version of the project found in Unigine binary SDK/source/app/main)

 

This is generated after closing the second unigine instance on reaching the second shutdown line.

 

Exception:

 

Unhandled exception at 0x777115de in main_vc2010d.exe: 0xC0000005: Access violation reading location 0x00000000.

 

 

Callstack:

 

> ntdll.dll!777115de()

[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]

ntdll.dll!777115de()

ntdll.dll!7770014e()

nvoglv32.dll!69bb027d()

Unigine_x86d.dll!Interpreter::getFunction(const char * name, int num_args) Line 5666 + 0x5 bytes C++

 

 

Output:

 

'main_vc2010d.exe': Loaded 'C:\Unigine binary SDK\source\app\main\main_vc2010d.exe', Symbols loaded.

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Unigine binary SDK\lib\Unigine_x86d.dll', Symbols loaded.

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\comdlg32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wsock32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbem\wbemprox.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbemcomn.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\cryptsp.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\rsaenh.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\RpcRtRemote.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbem\wbemsvc.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbem\fastprox.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\ntdsapi.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbem\fastprox.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\ntdsapi.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbem\wbemsvc.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbem\wbemprox.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbemcomn.dll'

Loading "C:/Unigine binary SDK/source/app/main/unigine.cfg"...

Loading "../../plugins/Interface/Interface_x86d.dll"...

EnginePlugins::addPlugin(): can't load "../../plugins/Interface/Interface_x86d.dll" library 126

First-chance exception at 0x760bb9bc in main_vc2010d.exe: Microsoft C++ exception: char at memory location 0x0037a160..

PackageUng::read_string(): CRC error

PackageUng::load(): can't load "C:/Unigine binary SDK/data/KASEMAKETemplates/KASEMAKE_BASE/files.ung" file

FileSystem::load_file(): can't open "C:/Unigine binary SDK/data/KASEMAKETemplates/KASEMAKE_BASE/files.ung" package

Loading "opengl32.dll"...

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file

Loading "openal32.dll"...

'main_vc2010d.exe': Loaded 'C:\Unigine binary SDK\bin\OpenAL32.dll', Binary was not built with debug information.

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\propsys.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\AudioSes.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\mscms.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\userenv.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\profapi.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\icm32.dll', Cannot find or open the PDB file

Set 1600x900 windowed video mode

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\nvoglv32.dll', Cannot find or open the PDB file

The thread 'Win32 Thread' (0x1fc) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x11f0) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x11b0) has exited with code 0 (0x0).

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\avrt.dll', Cannot find or open the PDB file

Set 1.02 gamma value

Unigine engine http://unigine.com/

Binary: Windows 32bit Visual C++ 1600 Debug Jun 14 2012 r9264

Features: Debug OpenGL Direct3D9 Direct3D11 OpenAL XPad360 Joystick Flash Editor

App path: C:/Unigine binary SDK/source/app/main/

Data path: C:/Unigine binary SDK/data/

Save path: C:/Unigine binary SDK/source/app/main/

 

---- System ----

System: Windows 7 (build 7601, Service Pack 1) 64bit

CPU: Intel® Core™ i7-2600 CPU @ 3.40GHz 3392MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 HTT x8

GPU: NVIDIA GeForce GTX 560 Ti 8.17.12.7057 x1

System memory: 4095 Mb

Video memory: 1280 Mb

Sync threads: 7

Async threads: 8

 

---- MathLib ----

Set SSE2 simd processor

 

---- Sound ----

Renderer: DirectSound Default

OpenAL vendor: OpenAL Community

OpenAL renderer: OpenAL Soft

OpenAL version: 1.1 ALSOFT 1.13

Found AL_EXT_LINEAR_DISTANCE

Found AL_EXT_OFFSET

Found ALC_EXT_EFX

Found EFX Filter

Found EFX Reverb

Found EAX Reverb

Found QUAD16 format

Found 51CHN16 format

Found 61CHN16 format

Found 71CHN16 format

Maximum sources: 256

Maximum effect slots: 4

Maximum auxiliary sends: 2

 

---- Render ----

Renderer: NVIDIA NV60 (Fermi) 1280Mb

OpenGL vendor: NVIDIA Corporation

OpenGL renderer: GeForce GTX 560 Ti/PCI/SSE2

OpenGL version: 4.1.0

Found required GL_ARB_vertex_array_object

Found required GL_ARB_vertex_buffer_object

Found required GL_ARB_half_float_vertex

Found required GL_ARB_half_float_pixel

Found required GL_ARB_occlusion_query

Found required GL_EXT_texture3D

Found required GL_EXT_texture_cube_map

Found required GL_EXT_texture_sRGB

Found required GL_EXT_texture_swizzle

Found required GL_ARB_shader_object

Found required GL_ARB_vertex_shader

Found required GL_ARB_fragment_shader

Found required GL_ARB_draw_buffers

Found required GL_ARB_framebuffer_object

Found required GL_EXT_framebuffer_blit

Found required GL_EXT_framebuffer_multisample

Found optional GL_ARB_map_buffer_range

Found optional GL_ARB_transform_feedback

Found optional GL_ARB_draw_elements_base_vertex

Found optional GL_ARB_draw_instanced

Found optional GL_EXT_draw_buffers2

Found optional GL_ARB_blend_func_extended

Found optional GL_ARB_shader_bit_encoding

Found optional GL_ARB_uniform_buffer_object

Found optional GL_ARB_tessellation_shader

Found optional GL_ARB_geometry_shader4

Found optional GL_ARB_sample_shading

Found optional GL_ARB_gpu_shader4

Found optional GL_ARB_gpu_shader5

Found optional GL_EXT_Cg_shader

Found optional GL_ARB_texture_rg

Found optional GL_ARB_texture_array

Found optional GL_ARB_texture_snorm

Found optional GL_ARB_texture_multisample

Found optional GL_ARB_texture_compression

Found optional GL_EXT_texture_compression_s3tc

Found optional GL_ARB_texture_compression_rgtc

Found optional GL_ARB_seamless_cube_map

Found optional RGB10A2 render texture format

Shading language: 4.10 NVIDIA via Cg compiler

Vertex instructions: 16384

Fragment instructions: 16384

Maximum texture size: 16384

Maximum texture units: 160

Maximum texture renders: 8

 

---- Physics ----

Physics: Multi-threaded

 

---- PathFind ----

PathFind: Multi-threaded

 

---- Interpreter ----

Version: 2.49

 

Unigine~# state_restore

Loading "core/unigine.cpp" 6ms

Loading "core/locale/unigine.en" dictionary

Loading "core/materials/default/unigine_post.mat" 23 materials 50 shaders 2ms

Loading "core/materials/default/unigine_render.mat" 40 materials 4665 shaders 19ms

Loading "core/materials/default/unigine_mesh.mat" 5 materials 3386 shaders 14ms

Loading "core/materials/default/unigine_mesh_lut.mat" 2 materials 1062 shaders 4ms

Loading "core/materials/default/unigine_mesh_paint.mat" 2 materials 1158 shaders 4ms

Loading "core/materials/default/unigine_mesh_tessellation.mat" 5 materials 3332 shaders 13ms

Loading "core/materials/default/unigine_mesh_tessellation_paint.mat" 2 materials 2276 shaders 8ms

Loading "core/materials/default/unigine_mesh_triplanar.mat" 1 material 112 shaders 2ms

Loading "core/materials/default/unigine_mesh_overlap.mat" 1 material 156 shaders 2ms

Loading "core/materials/default/unigine_mesh_terrain.mat" 1 material 53 shaders 2ms

Loading "core/materials/default/unigine_mesh_layer.mat" 1 material 84 shaders 2ms

Loading "core/materials/default/unigine_mesh_noise.mat" 1 material 106 shaders 3ms

Loading "core/materials/default/unigine_mesh_stem.mat" 2 materials 1268 shaders 7ms

Loading "core/materials/default/unigine_terrain.mat" 1 material 1652 shaders 6ms

Loading "core/materials/default/unigine_grass.mat" 1 material 138 shaders 1ms

Loading "core/materials/default/unigine_particles.mat" 1 material 101 shaders 1ms

Loading "core/materials/default/unigine_billboard.mat" 1 material 51 shaders 2ms

Loading "core/materials/default/unigine_billboards.mat" 2 materials 840 shaders 4ms

Loading "core/materials/default/unigine_volume.mat" 6 materials 45 shaders 3ms

Loading "core/materials/default/unigine_gui.mat" 1 material 82 shaders 1ms

Loading "core/materials/default/unigine_water.mat" 1 material 205 shaders 5ms

Loading "core/materials/default/unigine_sky.mat" 1 material 17 shaders 4ms

Loading "core/materials/default/unigine_decal.mat" 1 material 99 shaders 1ms

Loading "core/properties/unigine.prop" 2 properties 0ms

Unigine~# editor_load

Engine::state_restore(): can't open "C:/Unigine binary SDK/source/app/main/save/quicksave.save" file

Loading "core/editor/editor.cpp" 244ms

 

---- Editor ----

Version: 0.67

 

The thread 'Win32 Thread' (0x1484) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x1140) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xeac) has exited with code 0 (0x0).

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\avrt.dll'

The thread 'Win32 Thread' (0x1550) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xa74) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x169c) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x840) has exited with code 0 (0x0).

Close "openal32.dll"

'main_vc2010d.exe': Unloaded 'C:\Unigine binary SDK\bin\OpenAL32.dll'

Close "opengl32.dll"

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\opengl32.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\glu32.dll'

The thread 'Win32 Thread' (0xd08) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x5fc) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x1350) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x1290) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xea8) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x17d4) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xea4) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x1740) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xa54) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xd20) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x1438) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x1474) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x924) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x6b4) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x159c) has exited with code 0 (0x0).

Memory usage: none

Allocations: none

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbem\wbemprox.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbemcomn.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbem\wbemsvc.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\wbem\fastprox.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\ntdsapi.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbem\fastprox.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\ntdsapi.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbem\wbemsvc.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbem\wbemprox.dll'

'main_vc2010d.exe': Unloaded 'C:\Windows\SysWOW64\wbemcomn.dll'

Loading "C:/Unigine binary SDK/source/app/main/unigine.cfg"...

Loading "../../plugins/Interface/Interface_x86d.dll"...

EnginePlugins::addPlugin(): can't load "../../plugins/Interface/Interface_x86d.dll" library 126

First-chance exception at 0x760bb9bc in main_vc2010d.exe: Microsoft C++ exception: char at memory location 0x0037a160..

PackageUng::read_string(): CRC error

PackageUng::load(): can't load "C:/Unigine binary SDK/data/KASEMAKETemplates/KASEMAKE_BASE/files.ung" file

FileSystem::load_file(): can't open "C:/Unigine binary SDK/data/KASEMAKETemplates/KASEMAKE_BASE/files.ung" package

Loading "opengl32.dll"...

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file

Loading "openal32.dll"...

'main_vc2010d.exe': Loaded 'C:\Unigine binary SDK\bin\OpenAL32.dll', Binary was not built with debug information.

Set 1600x900 windowed video mode

Set 1.02 gamma value

Unigine engine http://unigine.com/

Binary: Windows 32bit Visual C++ 1600 Debug Jun 14 2012 r9264

Features: Debug OpenGL Direct3D9 Direct3D11 OpenAL XPad360 Joystick Flash Editor

App path: C:/Unigine binary SDK/source/app/main/

Data path: C:/Unigine binary SDK/data/

Save path: C:/Unigine binary SDK/source/app/main/

 

---- System ----

System: Windows 7 (build 7601, Service Pack 1) 64bit

CPU: Intel® Core™ i7-2600 CPU @ 3.40GHz 3392MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 HTT x8

GPU: NVIDIA GeForce GTX 560 Ti 8.17.12.7057 x1

System memory: 4095 Mb

Video memory: 1280 Mb

Sync threads: 7

Async threads: 8

 

---- MathLib ----

Set SSE2 simd processor

 

---- Sound ----

Renderer: DirectSound Default

OpenAL vendor: OpenAL Community

OpenAL renderer: OpenAL Soft

OpenAL version: 1.1 ALSOFT 1.13

Found AL_EXT_LINEAR_DISTANCE

Found AL_EXT_OFFSET

Found ALC_EXT_EFX

Found EFX Filter

Found EFX Reverb

Found EAX Reverb

Found QUAD16 format

Found 51CHN16 format

Found 61CHN16 format

'main_vc2010d.exe': Loaded 'C:\Windows\SysWOW64\avrt.dll', Cannot find or open the PDB file

Found 71CHN16 format

Maximum sources: 256

Maximum effect slots: 4

Maximum auxiliary sends: 2

 

---- Render ----

Renderer: NVIDIA NV60 (Fermi) 1280Mb

OpenGL vendor: NVIDIA Corporation

OpenGL renderer: GeForce GTX 560 Ti/PCI/SSE2

OpenGL version: 4.1.0

Found required GL_ARB_vertex_array_object

Found required GL_ARB_vertex_buffer_object

Found required GL_ARB_half_float_vertex

Found required GL_ARB_half_float_pixel

Found required GL_ARB_occlusion_query

Found required GL_EXT_texture3D

Found required GL_EXT_texture_cube_map

Found required GL_EXT_texture_sRGB

Found required GL_EXT_texture_swizzle

Found required GL_ARB_shader_object

Found required GL_ARB_vertex_shader

Found required GL_ARB_fragment_shader

Found required GL_ARB_draw_buffers

Found required GL_ARB_framebuffer_object

Found required GL_EXT_framebuffer_blit

Found required GL_EXT_framebuffer_multisample

Found optional GL_ARB_map_buffer_range

Found optional GL_ARB_transform_feedback

Found optional GL_ARB_draw_elements_base_vertex

Found optional GL_ARB_draw_instanced

Found optional GL_EXT_draw_buffers2

Found optional GL_ARB_blend_func_extended

Found optional GL_ARB_shader_bit_encoding

Found optional GL_ARB_uniform_buffer_object

Found optional GL_ARB_tessellation_shader

Found optional GL_ARB_geometry_shader4

Found optional GL_ARB_sample_shading

Found optional GL_ARB_gpu_shader4

Found optional GL_ARB_gpu_shader5

Found optional GL_EXT_Cg_shader

Found optional GL_ARB_texture_rg

Found optional GL_ARB_texture_array

Found optional GL_ARB_texture_snorm

Found optional GL_ARB_texture_multisample

Found optional GL_ARB_texture_compression

Found optional GL_EXT_texture_compression_s3tc

Found optional GL_ARB_texture_compression_rgtc

Found optional GL_ARB_seamless_cube_map

Found optional RGB10A2 render texture format

Shading language: 4.10 NVIDIA via Cg compiler

Vertex instructions: 16384

Fragment instructions: 16384

Maximum texture size: 16384

Maximum texture units: 160

Maximum texture renders: 8

 

---- Physics ----

Physics: Multi-threaded

 

---- PathFind ----

PathFind: Multi-threaded

 

---- Interpreter ----

Version: 2.49

 

Unigine~# state_restore

Loading "core/unigine.cpp" 6ms

Loading "core/locale/unigine.en" dictionary

Loading "core/materials/default/unigine_post.mat" 23 materials 50 shaders 2ms

Loading "core/materials/default/unigine_render.mat" 40 materials 4665 shaders 23ms

Loading "core/materials/default/unigine_mesh.mat" 5 materials 3386 shaders 14ms

Loading "core/materials/default/unigine_mesh_lut.mat" 2 materials 1062 shaders 4ms

Loading "core/materials/default/unigine_mesh_paint.mat" 2 materials 1158 shaders 4ms

Loading "core/materials/default/unigine_mesh_tessellation.mat" 5 materials 3332 shaders 14ms

Loading "core/materials/default/unigine_mesh_tessellation_paint.mat" 2 materials 2276 shaders 9ms

Loading "core/materials/default/unigine_mesh_triplanar.mat" 1 material 112 shaders 2ms

Loading "core/materials/default/unigine_mesh_overlap.mat" 1 material 156 shaders 2ms

Loading "core/materials/default/unigine_mesh_terrain.mat" 1 material 53 shaders 2ms

Loading "core/materials/default/unigine_mesh_layer.mat" 1 material 84 shaders 2ms

Loading "core/materials/default/unigine_mesh_noise.mat" 1 material 106 shaders 3ms

Loading "core/materials/default/unigine_mesh_stem.mat" 2 materials 1268 shaders 7ms

Loading "core/materials/default/unigine_terrain.mat" 1 material 1652 shaders 7ms

Loading "core/materials/default/unigine_grass.mat" 1 material 138 shaders 2ms

Loading "core/materials/default/unigine_particles.mat" 1 material 101 shaders 2ms

Loading "core/materials/default/unigine_billboard.mat" 1 material 51 shaders 2ms

Loading "core/materials/default/unigine_billboards.mat" 2 materials 840 shaders 5ms

Loading "core/materials/default/unigine_volume.mat" 6 materials 45 shaders 4ms

Loading "core/materials/default/unigine_gui.mat" 1 material 82 shaders 1ms

Loading "core/materials/default/unigine_water.mat" 1 material 205 shaders 6ms

Loading "core/materials/default/unigine_sky.mat" 1 material 17 shaders 3ms

Loading "core/materials/default/unigine_decal.mat" 1 material 99 shaders 1ms

Loading "core/properties/unigine.prop" 2 properties 0ms

Unigine~# editor_load

Engine::state_restore(): can't open "C:/Unigine binary SDK/source/app/main/save/quicksave.save" file

Loading "core/editor/editor.cpp" 247ms

 

---- Editor ----

Version: 0.67

 

First-chance exception at 0x0ff95142 (Unigine_x86d.dll) in main_vc2010d.exe: 0xC0000005: Access violation reading location 0x00000000.

Unhandled exception at 0x777115de in main_vc2010d.exe: 0xC0000005: Access violation reading location 0x00000000.

Link to comment
  • 2 weeks later...

It seem i have the same bug on osx. My debugger give me an other interpreter function but it's too after relaunching Unigine.

 

virtual void run(INTERPRETER_STACK &stack) const {
for(int i = 0; i < num_args; i++) {
   	VariableToVariable(arg_variables[i]).variable = stack.pop();
}
stack.push(VariableToVariable(extern_function->run(arg_variables)).variable);
}

 

crash.png

 

Frustum, could be possible to have an patch before the next sdk for see if is the same bug or an other ?

 

Thanks

Link to comment
×
×
  • Create New...