Alexander Larsen's Avatar

Alexander Larsen

@alexanderlarsen

Unity Engineer. Working on Tails (VR Snake game) and Saneject (a Unity editor-time DI framework that started as a side quest for making the game) alexanderlarsen.com #GameDev #IndieDev #Unity3D #XR

431
Followers
148
Following
98
Posts
07.12.2024
Joined
Posts Following

Latest posts by Alexander Larsen @alexanderlarsen

Video thumbnail

Spent today writing a new Scope Inspector for the Saneject rewrite.
Shows context + hierarchy (scope-only mirror of transform hierarchy, with other contexts grayed out), quick navigation to scope GameObjects, and shortcuts for various injection modes #Saneject #Unity3D

30.01.2026 18:56 πŸ‘ 11 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Small dev update: I've been deep in Saneject recently. Tails isn't dead though, just paused for a bit to focus on one project at a time. Once Saneject 1.0.0 is shipped, I'll be back on the VR snake πŸ‰

#TailsVR #Saneject #Unity3D #GameDev #IndieDev

28.01.2026 15:12 πŸ‘ 10 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

Working on an experimental graph/phase-based Saneject architecture to replace the current before 1.0.0: build graph, validate, resolve, inject, log. Same DI rules, but a very different system underneath that's easier to maintain and extend. Looking forward to sharing it soon!

16.01.2026 08:34 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Wrong Alexander, but I support any parallel universe where I write books about Bowie!

30.12.2025 16:50 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Video thumbnail

Saneject 0.21.0 beta is out. I thought I was this close to shipping 1.0.0. Found a minefield of context isolation edge cases instead 😬 So I rewrote the context isolation system. Scenes, prefab assets/instances, now totally siloed (optionally).
#Saneject #Unity3D #GameDev

17.12.2025 21:19 πŸ‘ 9 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
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 πŸ‘ 21 πŸ” 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 πŸ‘ 12 πŸ” 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 πŸ‘ 16 πŸ” 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 πŸ‘ 35 πŸ” 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 πŸ‘ 30 πŸ” 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 πŸ‘ 26 πŸ” 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 πŸ‘ 83 πŸ” 8 πŸ’¬ 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 πŸ‘ 39 πŸ” 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 πŸ‘ 39 πŸ” 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