This is an issue I've come across a few times, and I've never found a solution that wasn't "nuke the game and install clean". Occasionally, after using unren, I start getting errors like the below:
This came from using it on the completed version of Sugar and Spice, and the game was working fine until I tried using unren to enable the developer console, and then this became an unavoidable launch error. I checked after deleting and reinstalling all of the script files, and all of these "defined twice" issues are still true, but the game now launches fine. So, what gives?
Edit: I'm using unren 1.0.11d, which is the most recent version, as far as I can tell.
Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
The label _call_ch5_variables_13 is defined twice, at File "game/chapter11.rpy", line 1898:
call ch5_variables from _call_ch5_variables_13
and File "game/chapter12.rpy", line 1354:
call ch5_variables from _call_ch5_variables_13
The label _call_ch2_variables_10 is defined twice, at File "game/chapter11.rpy", line 1899:
call ch2_variables from _call_ch2_variables_10
and File "game/chapter12.rpy", line 1355:
call ch2_variables from _call_ch2_variables_10
The label _call_ch3_variables_3 is defined twice, at File "game/chapter11.rpy", line 1900:
call ch3_variables from _call_ch3_variables_3
and File "game/chapter12.rpy", line 1356:
call ch3_variables from _call_ch3_variables_3
The label _call_ch4_variables_9 is defined twice, at File "game/chapter11.rpy", line 1901:
call ch4_variables from _call_ch4_variables_9
and File "game/chapter12.rpy", line 1357:
call ch4_variables from _call_ch4_variables_9
The label _call_ch5_variables_14 is defined twice, at File "game/chapter11.rpy", line 1902:
call ch5_variables from _call_ch5_variables_14
and File "game/chapter12.rpy", line 1358:
call ch5_variables from _call_ch5_variables_14
The label _call_ch6_variables_6 is defined twice, at File "game/chapter11.rpy", line 1903:
call ch6_variables from _call_ch6_variables_6
and File "game/chapter12.rpy", line 1359:
call ch6_variables from _call_ch6_variables_6
The label _call_ch7_variables_6 is defined twice, at File "game/chapter11.rpy", line 1904:
call ch7_variables from _call_ch7_variables_6
and File "game/chapter12.rpy", line 1360:
call ch7_variables from _call_ch7_variables_6
The label _call_ch8_variables_5 is defined twice, at File "game/chapter11.rpy", line 1905:
call ch8_variables from _call_ch8_variables_5
and File "game/chapter12.rpy", line 1361:
call ch8_variables from _call_ch8_variables_5
The label _call_ch9_variables_4 is defined twice, at File "game/chapter11.rpy", line 1906:
call ch9_variables from _call_ch9_variables_4
and File "game/chapter12.rpy", line 1362:
call ch9_variables from _call_ch9_variables_4
The label _call_ch10_variables_2 is defined twice, at File "game/chapter11.rpy", line 1907:
call ch10_variables from _call_ch10_variables_2
and File "game/chapter12.rpy", line 1363:
call ch10_variables from _call_ch10_variables_2
The label _call_chapter_11_variables_1 is defined twice, at File "game/chapter11.rpy", line 1908:
call chapter_11_variables from _call_chapter_11_variables_1
and File "game/chapter12.rpy", line 1364:
call chapter_11_variables from _call_chapter_11_variables_1
The label _call_ch5_variables_17 is defined twice, at File "game/chapter14.rpy", line 1269:
call ch5_variables from _call_ch5_variables_17
and File "game/chapter15.rpy", line 1336:
call ch5_variables from _call_ch5_variables_17
The label _call_ch2_variables_13 is defined twice, at File "game/chapter14.rpy", line 1270:
call ch2_variables from _call_ch2_variables_13
and File "game/chapter15.rpy", line 1337:
call ch2_variables from _call_ch2_variables_13
The label _call_ch3_variables_11 is defined twice, at File "game/chapter14.rpy", line 1271:
call ch3_variables from _call_ch3_variables_11
and File "game/chapter15.rpy", line 1338:
call ch3_variables from _call_ch3_variables_11
The label _call_ch4_variables_11 is defined twice, at File "game/chapter14.rpy", line 1272:
call ch4_variables from _call_ch4_variables_11
and File "game/chapter15.rpy", line 1339:
call ch4_variables from _call_ch4_variables_11
The label _call_ch5_variables_18 is defined twice, at File "game/chapter14.rpy", line 1273:
call ch5_variables from _call_ch5_variables_18
and File "game/chapter15.rpy", line 1340:
call ch5_variables from _call_ch5_variables_18
The label _call_ch6_variables_8 is defined twice, at File "game/chapter14.rpy", line 1274:
call ch6_variables from _call_ch6_variables_8
and File "game/chapter15.rpy", line 1341:
call ch6_variables from _call_ch6_variables_8
The label _call_ch7_variables_8 is defined twice, at File "game/chapter14.rpy", line 1275:
call ch7_variables from _call_ch7_variables_8
and File "game/chapter15.rpy", line 1342:
call ch7_variables from _call_ch7_variables_8
The label _call_ch8_variables_7 is defined twice, at File "game/chapter14.rpy", line 1276:
call ch8_variables from _call_ch8_variables_7
and File "game/chapter15.rpy", line 1343:
call ch8_variables from _call_ch8_variables_7
The label _call_ch9_variables_6 is defined twice, at File "game/chapter14.rpy", line 1277:
call ch9_variables from _call_ch9_variables_6
and File "game/chapter15.rpy", line 1344:
call ch9_variables from _call_ch9_variables_6
The label _call_ch10_variables_5 is defined twice, at File "game/chapter14.rpy", line 1278:
call ch10_variables from _call_ch10_variables_5
and File "game/chapter15.rpy", line 1345:
call ch10_variables from _call_ch10_variables_5
The label _call_chapter_11_variables_4 is defined twice, at File "game/chapter14.rpy", line 1279:
call chapter_11_variables from _call_chapter_11_variables_4
and File "game/chapter15.rpy", line 1346:
call chapter_11_variables from _call_chapter_11_variables_4
The label _call_ch12_variables_3 is defined twice, at File "game/chapter14.rpy", line 1280:
call ch12_variables from _call_ch12_variables_3
and File "game/chapter15.rpy", line 1347:
call ch12_variables from _call_ch12_variables_3
The label _call_chapter_13_variables_1 is defined twice, at File "game/chapter14.rpy", line 1281:
call chapter_13_variables from _call_chapter_13_variables_1
and File "game/chapter15.rpy", line 1348:
call chapter_13_variables from _call_chapter_13_variables_1
The label ch16_scene_2 is defined twice, at File "game/chapter16.rpy", line 51:
label ch16_scene_2:
and File "game/chapter16.rpy", line 196:
label ch16_scene_2:
Ren'Py Version: Ren'Py 8.1.3.23091805
Mon Jun 2 14:22:20 2025
Edit: I'm using unren 1.0.11d, which is the most recent version, as far as I can tell.