morbid Posted December 13, 2018 Share Posted December 13, 2018 Okay, there are two issues, one on your side, another one is ours. 1. You re-used code from VR template, but for your case it should be modified: source\Components\Objects\ObjSwitch.cpp:13 const char* file_name = switch_sound_file.get(); if (file_name[0] != '\0') { switch_sound = SoundSource::create(file_name); switch_sound->setLoop(0); switch_sound->setOcclusion(0); switch_sound->setMinDistance(2.0f); switch_sound->setMaxDistance(15.0f); switch_sound->setParent(node); switch_sound->setPosition(Vec3::ZERO); // ---- add this code ---- if (Editor::get()->isNode(node)) { switch_sound->release(); Editor::get()->addNode(switch_sound->getNode()); } // --------------------- } 2. The second issue related to CigiClient and Syncker plugin is already fixed in our internal builds. The release will happen soon (1-2 weeks I guess) so I suggest to check it with the new SDK. Thank you. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts