Alexander Larsen's Avatar

Alexander Larsen

@alexanderlarsen.bsky.social

Unity XR & Game Engineer from Copenhagen Currently remaking Tails, a VR Snake-like I made with a friend in 2016. Nobody asked for a remake, but we're doing it anyway and it'll be much better this time ๐Ÿคท๐Ÿปโ€โ™‚๏ธ alexanderlarsen.com #GameDev #IndieDev #VR #XR

378 Followers  |  119 Following  |  93 Posts  |  Joined: 07.12.2024  |  2.033

Latest posts by alexanderlarsen.bsky.social on Bluesky

Post image

Saneject 0.19.0 is out. The new batch injector is finally stable after lots of late night hacking. Dependency inject your entire Unity project at edit time in one click. Fast, predictable and quite the time-saver

๐Ÿ”— github.com/alexanderlar...

#Unity3D #Saneject #GameDev #IndieDev

29.11.2025 20:03 โ€” ๐Ÿ‘ 10    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

Final feature before Saneject 1.0.0: a project wide batch injection window that injects all or selected scenes/prefabs in one click with full summary. Easily one of the most useful additions and a huge time saver once projects grow #Saneject #Unity3D #DependencyInjection

17.11.2025 14:01 โ€” ๐Ÿ‘ 7    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Great idea, looks like a pretty fun way to learn some morse code!

15.11.2025 18:32 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - alexanderlarsen/Saneject: Dependency injection the Unity way. Dependency injection the Unity way. Contribute to alexanderlarsen/Saneject development by creating an account on GitHub.

Haven't posted about Saneject in a while, but I've been busy improving APIs, UX, inspectors, workflows, and binding tools + testing it in Tails. Itโ€™s come a long way!
New v0.17.0 adds method injection ([Inject] on methods) and more.
๐Ÿ”— github.com/alexanderlarsen/Saneject
#Unity3D #Saneject

29.10.2025 19:58 โ€” ๐Ÿ‘ 13    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I'm looking forward to this one!

19.10.2025 10:32 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Video thumbnail

Made an auto player for faster testing. Who needs players when the game can play itself?

#TailsVR #GameDev #IndieDev #Unity #VR #VRDev #MadeWithUnity #IndieGameDev #Debugging

17.10.2025 14:05 โ€” ๐Ÿ‘ 29    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

Trying to track down a dragon head jitter bug that doesnโ€™t really show in the video - but itโ€™s haunting me in VR.

#SendHelp #GameDev #Unity #VR #IndieDev #MadeWithUnity #VRDev #Debugging #IndieGameDev

16.10.2025 06:41 โ€” ๐Ÿ‘ 24    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Tell me about it. Nothing like updating ancient projects and watching all the dependencies explode ๐Ÿ˜ฌ

10.10.2025 17:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
a man sitting at a desk with a dell computer ALT: a man sitting at a desk with a dell computer

Spent all day patching the recent Unity security vulnerability in Saneject, WordBaby, and a bunch of old itch.io games that no one plays. Thanks for the productive day, Unity!

#Unity3D #GameDev #IndieDev

10.10.2025 13:44 โ€” ๐Ÿ‘ 25    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This looks trippy in the best way!

10.10.2025 11:13 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Thanks a lot! Really glad you like it :)

10.10.2025 06:11 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - alexanderlarsen/Saneject: Dependency injection the Unity way. Dependency injection the Unity way. Contribute to alexanderlarsen/Saneject development by creating an account on GitHub.

github.com/alexanderlar...

07.10.2025 10:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

๐Ÿ‰ Tails (VR Snake) Dev Log #5. Back with a big under-the-hood change: now powered by Saneject, my editor-time DI framework for Unity. No more GetComponent chaos or fragile drag and drop. Clean DI structure with inspector visibility.

#TailsVR #Saneject #GameDev #Unity3D #VR #XR

07.10.2025 10:03 โ€” ๐Ÿ‘ 62    ๐Ÿ” 6    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Video thumbnail

๐ŸŽจ๐ŸงŠ Smashy Cubes. Made a silly Unity prototype for a job test that didnโ€™t work out. Fling cubes, watch them shatter into hundreds of fragments, then get guilt-tripped by a robot vacuum into cleaning. Play here ๐Ÿ‘‰ alexanderlarsen.itch.io/smashy-cubes

#GameDev #Unity3D #IndieDev #PhysicsChaos

09.09.2025 07:56 โ€” ๐Ÿ‘ 38    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
imgur.com Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and ...

Bsky butchered the image quality on mobile. Better on desktop. Here is a sharp version for the mobile folks imgur.com/a/KSkA7Sk

21.08.2025 11:45 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿ“ฆ Add Git URL to UPM to get started:
github.com/alexanderlar...

21.08.2025 10:51 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Had enough of Unityโ€™s half-serialized, half-GetComponent dependency spaghetti creeping into every class? ๐Ÿ๐Ÿ™…๐Ÿปโ€โ™‚๏ธ

Saneject injects dependencies at editor-time: clean API, declarative rules, full Inspector visibility. No runtime container, no second lifecycle.

#Unity #GameDev #IndieDev #OpenSource

21.08.2025 10:51 โ€” ๐Ÿ‘ 20    ๐Ÿ” 7    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Video thumbnail

Unity AAA demo: green bean chases red bean. OK it looks awful, but it's actually a learning demo that ships with Saneject (Unity editor-time DI). Catch beans, learn DI!

๐Ÿท๏ธ v0.9.0 beta
๐Ÿงฉ Unity 2022.3.12f1 โ†’ 6.2
๐Ÿ”— github.com/alexanderlarsen/Saneject

#Unity #Unity3D #GameDev #IndieDev #OpenSource

18.08.2025 10:04 โ€” ๐Ÿ‘ 38    ๐Ÿ” 5    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thank you! Basically yes, it's rigged 3D models moving along a spline drawn by the controller :)

18.08.2025 04:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Saneject - Unity editor-time DI for serialized fields and serialized interfaces - now supports Unity 2022.3.12f1 and up. 225 automated tests on six Unity versions run on every git push. Zero manual testing before 1.0.0 release. Iโ€™ll sleep better now.
#Unity #Unity3D #GameDev #IndieDev #OpenSource

14.08.2025 10:45 โ€” ๐Ÿ‘ 20    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - alexanderlarsen/Saneject: Dependency injection that feels native to Unity. Resolve your dependencies in the Editor. No runtime container, no surprises. Dependency injection that feels native to Unity. Resolve your dependencies in the Editor. No runtime container, no surprises. - alexanderlarsen/Saneject

โš™๏ธ Saneject v0.7.0 update is out. Easy Unity DI with zero runtime overhead or second lifecycle. Injects dependencies in-editor into serialized fields (yes, interfaces too). Now with collection injection, advanced filtering, 225 unit tests, and more!

#Unity #GameDev #IndieDev #DI #OpenSource #XR

04.08.2025 11:53 โ€” ๐Ÿ‘ 13    ๐Ÿ” 5    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I like that idea! Any ETA on release?

16.07.2025 15:11 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Looks fun! It gives me Endless War vibes. I loved those games back in the... 2000s I think?

15.07.2025 17:36 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Saneject link for the curious. It's so new that Google hasn't indexed the repo yet github.com/alexanderlar...

08.07.2025 21:50 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I will let you know how it goes!

08.07.2025 21:43 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Planning to get back to work on Tails soon ๐Ÿ‰
Got a bit sidetracked improving the architectureโ€ฆ and accidentally built a full open source DI system instead. Saneject actually started as a small thing for Tails, so now I get to really battletest it.

#Unity3D #GameDev #IndieDev #VR #Saneject #TailsVR

08.07.2025 21:39 โ€” ๐Ÿ‘ 17    ๐Ÿ” 3    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Yep, same here! Zenject is powerful but for simpler projects, there is just too much ceremony. Feel free to reach out if you got questions, find bugs or have any suggestions

08.07.2025 08:04 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

It might sound annoying and boilerplate-y but the tools actually generate the player proxy with just two clicks and interface forwarding is taken care of by a source generator.

08.07.2025 06:01 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The beta release includes a small demo game, that also has an instantiated enemy prefab referencing the player. The game also uses proxies for references between scenes. Feel free to check it out!

08.07.2025 05:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The proxy is a ScriptableObject, so it can be serialized/referenced everywhere. It forwards all interface calls to the concrete and at runtime it locates the concrete instance (e.g. PlayerController) on first access. So there is a runtime operation involved here, but it's cheap :)

08.07.2025 05:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@alexanderlarsen is following 20 prominent accounts