Amerio.Stephane Posted September 17, 2018 Share Posted September 17, 2018 Hello, I'm trying to call some script function from the C++ code, just like the CIGI demo does, but for some script function, runWorldFunction just prints "Machine::do_callucf(): "int: 0" is not a user class". i tried with even a simple copy-paste from the demo CIGI. For one function it works, and for another it doesn't. Both script are in the <project>/data/<project>.cpp, both have the same signature "void dosomething(float)" Link to comment
silent Posted September 17, 2018 Share Posted September 17, 2018 Hi Amerio, Could you please send us an exact <project>.cpp (UnigineScript) file that you are using? Thanks! 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
Amerio.Stephane Posted September 17, 2018 Author Share Posted September 17, 2018 My bad. Found it; It was a rogue invisible character that slipped through the name of the function. Still trying to figure out how it got there. For the record, in some cases it even crashed the exe. Case closed, sorry for the noise. Link to comment
Recommended Posts