Iv been having a problem over the past day or so, when i try to create a function event in multiple scenes the compiler fails during the link phase stating that ‘currentFunctionParameters’ was defined in a RuntimeObjectFile.o, and later redefined in another RuntimeObjectFile.o of a slightly different number.
here is the error log file, if anyone could recommend a working solution id appreciate it, hopefully without having to recreate the project.:
C:\Users\admin\AppData\Local\Temp/GDTemporaries/GD0xe5633b8RuntimeObjectFile.o:GD0xe5633b8RuntimeEventsSource.cpp:(.bss+0x0): multiple definition of `currentFunctionParameters’
C:\Users\admin\AppData\Local\Temp/GDTemporaries/GD0xe563568RuntimeObjectFile.o:GD0xe563568RuntimeEventsSource.cpp:(.bss+0x0): first defined here
Can you send us your project so that we can test it and find the bug (I think it’s probably a bug on Game Develop’s side) ?
EDIT : Found the bug, just need to add a function in each of the two scene and then compile the project as an executable (the bug doesn’t happen in the scene preview)
thanks for the response. I tried your solution, adding functions to both scenes but still seem to get the same problem, im not entirely sure what the cause is, either on my end or game develop’s. Id be happy to send my files, the events are a bit of a mess because of the lack of functions…but bare with me, i will PM you the password.