Has Yandere Simulator's source code been leaked? (Patreon)
Content
Hi! I'm still regularly updating the game. You can check yanderedev.wordpress.com for the latest news. My most recent blog post contains some very optimistic info!
However, what I've been asked to talk about today is something entirely different. I don't usually make posts to address rumors, but I think it's worth it to nip this one in the bud.
Recently, someone posted to twitter that Yandere Simulator's source code has been "leaked". Is that claim true? Well, no, not really.
For years, it has been possible to use free programs like dnSpy to look at a game's code. People have been using dnSpy to look at Yandere Simulator's code for years. Multiple times in the past, people have made the game's code publicly available through GitHub repositories. This isn't a shocking development.
When I create a build of Yandere Simulator, the game's source code is compiled. When you use a program like dnSpy to view the game's scripts, you are viewing decompiled code. People do not have access to the game's actual source code, just decompiled code.
If I actually had a problem with people viewing the game's code, I would have used a process called "obfuscation" to hide the code so that nobody could ever decompile it. I didn't obfuscate the code, because I have nothing to hide.
To prevent people from modding the game to gain full access to all upcoming Osana content before Osana is ready, there are plenty of scripts and functions that are not included in the builds that I release to the public. So, not only are people viewing decompiled code, they're also completely unaware of how much code is not even included in the public builds of the game.
Aside from that, though...it's not like someone can just drag-and-drop the scripts into Unity and instantly begin making a Yandere Simulator clone. Having a bunch of decompiled scripts means nothing. Without the scenes, assets, prefabs, references, plugins, etc, you can't actually do anything significant with that code.
By the way, the current state of the game's code doesn't represent what the final code will look like, so it's kind of pointless to judge the current code at this point in time. The code is constantly changing on a daily basis as I make frequent optimizations and improvements.
"YandereDev's code was LEAKED! He's FINISHED!" is a fun and entertaining narrative. "People have been putting decompiled scripts onto the Internet for years, this is not a big deal" is a boring narrative.
People will always choose the more entertaining narrative...even when it's completely false.