Alexander Larsen's Avatar

Alexander Larsen

@alexanderlarsen.bsky.social

Unity XR & Indie Game Dev 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

309 Followers  |  105 Following  |  86 Posts  |  Joined: 07.12.2024  |  1.7132

Latest posts by alexanderlarsen.bsky.social on Bluesky

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 โ€” ๐Ÿ‘ 15    ๐Ÿ” 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 โ€” ๐Ÿ‘ 0    ๐Ÿ” 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 โ€” ๐Ÿ‘ 20    ๐Ÿ” 3    ๐Ÿ’ฌ 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 โ€” ๐Ÿ‘ 35    ๐Ÿ” 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 โ€” ๐Ÿ‘ 3    ๐Ÿ” 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 โ€” ๐Ÿ‘ 16    ๐Ÿ” 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 โ€” ๐Ÿ‘ 35    ๐Ÿ” 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 โ€” ๐Ÿ‘ 19    ๐Ÿ” 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
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

Good question! The enemy would need to access the player by interface (e.g. IPlayer), then you would create an InterfaceProxyObject<PlayerController> for the player and plug that into the IPlayer field in the enemy prefab. More details here github.com/alexanderlar...

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

Thanks everyone!

07.07.2025 18:12 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Exactly ๐Ÿ˜ƒ Glad you like it

07.07.2025 18:05 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 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

Introducing Saneject โ†’ Dependency injection that feels native to Unity.
Editor-time resolution, no runtime container, no surprises.
Clean, easy to use, Inspector-friendly, with serialized interfaces!
Beta out now โ†’ github.com/alexanderlar...

#Unity3D #GameDev #IndieDev #MadeWithUnity #OpenSource

07.07.2025 15:58 โ€” ๐Ÿ‘ 26    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

You can do it! Let us know how it goes ๐Ÿ’ช

24.06.2025 06:35 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Appreciate it! Sorry to hear about your headset. Sounds like it's time for an upgrade ๐Ÿ˜… Tails is still in development, but it's coming to a headset near you at some point

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

The look on his face also seems really sincere that he's gonna get weird with it

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

@alexanderlarsen is following 20 prominent accounts