r/godot • u/_Princess_Alice • 1d ago
discussion Reverse engineer Unity
Just a random question that came to my mind. Wouldnt it be possible to reverse engineer Unity like others do with games and implement some features from Unity into Godot?
0
Upvotes
20
u/BebopTheCowboy 1d ago
Why exactly would anyone do that. If you want unity there's unity. If you want a feature added you can submit a PR
4
u/JCAPER 1d ago
Likely not worth the effort, because it’s not something you can just copy and paste. And reverse engineering itself has some asterisks.
Godot and Unity code were specifically made for each respectively, a feature made in Unity might use some logic that doesn’t make sense for Godot, and vice versa. It would be like grabbing lettuce from a burger and putting it on a pizza.
Reverse engineering with AI will get you a code that is a guess of how the original code looks like, it doesn’t get you the exact same code as the original. It’s why a lot of these reverse-engineered projects have so many bugs.
At best, I guess reverse engineering could give a dev a better understanding how Unity was able to do it, but I don’t know if it’s worth the effort (and then there’s the whole morality and legality side of things)
3
u/Good-Memory-2264 1d ago
I guess you could do so, but I don’t really see why you’d want this. Just go use unity atp, also if however you do it constitutes somehow violating Unity’s copyright ownership (vibe-coded reverse engineering is a gray area on this rn afaik so it isn’t protected, and also just kind of a crappy thing to do imo) you could get in potential trouble with that company down the road. There’s likely a plugin or an alternative feature already in the engine/asset store that solves whatever issue you’re having that could have been solved easily by a unity feature, and if there isn’t then you can go hop in gdextension or make a fork of the engine and implement an alternative solution yourself that suits the needs of your current project.
3
u/The-Chartreuse-Moose Godot Student 1d ago
Go on then. Let us know how it goes. I'm sure you won't have any major issues.
2
u/CaveJohnson376 Godot Regular 1d ago
...what exactly are you missing from godot that's only available in unity?
and regardless, you can always make a plugin or PR with whatever feature you need. after all, it's a game engine - basically a framework, a collection of libraries tied together to make it easier to make a game. and you can always build new features on top of it.
-4
u/ironlampgames 1d ago
Actually an interesting idea. You could try it out yourself by getting godots code from github and a version of unity and give it to an AI to analyze both and see what it can find. Or maybe you could implement something like Blueprint from Unreal? 🤔