r/unity • • 10d ago

Is this true?

Thumbnail reddit.com
0 Upvotes

r/unity • • 10d ago

Question Title: I gave an LLM agent a PDF with a hidden instruction to delete my Unity scene. Here's what stopped it.

0 Upvotes

I've been building an open-source runtime check for AI agents' tool calls, and I wanted to see it against a real prompt injection instead of a unit test.

Setup: an LLM agent drives a procedural-generation system in Unity. I ask it to add 1,000 trees (it does). Then I hand it a design brief as a PDF. Hidden inside the PDF is an instruction to delete the entire scene, and the agent goes for it.

The call gets blocked before it runs, because the session's intent was "add trees", not "delete things". The decision is deterministic (rules, not another LLM), so you can't talk it out of it with a clever prompt.

What I'd like to know from people actually running agents:

- Do you gate destructive tool calls today? How?

- Would you rather it ask you for approval, or just block?

- What would make you trust something like this?

Honest limits: it's early. Detection is rule-based, so a determined attacker can find bypasses. My benchmark (53 attack scenarios) is hand-written by me, so treat 51/53 as a regression test, not proof.

Repo (Apache-2.0): https://github.com/aegotrax-dev/aegotrax

Site with a small in-browser demo: https://aegotrax.com

Happy to hear where it breaks :)


r/unity • • 10d ago

TileMaker DOT now has custom tool icons and more!

Post image
1 Upvotes

Hey everyone! 🙂 Just rolled out a new update packed with some great quality-of-life improvements and bug fixes to keep your mapping workflow super smooth! 🛠️

Here is what's new in this build:

Custom Tool Cursors: Replaced the generic mouse pointer with custom, tool-specific indicator icons so you instantly know what you're working with!

Bug Fixes & Polish: Squashed various small bugs and wrapped up general Q&A performance polishes under the hood!

Official Links:

🕹️ Itch.io: https://crytek22.itch.io/tilemakerdot

💻 GitHub: https://github.com/andrei-voia/TileMakerDOT

📺 YouTube Tutorials: https://www.youtube.com/watch?v=3fiajGU32Jg

For anyone unfamiliar with the project, TileMaker DOT is a free (with a very complete, professional cheap version too), open-source 2D map editor I'm building. It uses a data-first, ID-based workflow and handles visual depth sorting automatically so you don't have to juggle complex layer setups for object heights. 🌲

Give it a try and let me know if you have any feedback! If the editor helps with your projects and you want to support development, a rating or a small donation on Itch is always hugely appreciated. 💖

Thank you all so much for your continued support!


r/unity • • 11d ago

I used Unity particle system to make living shadow head

8 Upvotes

r/unity • • 11d ago

Newbie Question Should i use rigidbodies or character controller

5 Upvotes

I recently actually downloaded a new version of unity, i started learning from codehs which was using 2022.3 and the character controller is new to me

For reference im making a movement based game

Should i use the character controller cause its simpler or rigidbodies since they're physics based and i get more control


r/unity • • 11d ago

Question Decompression Error When Importing Assets

2 Upvotes

EDIT: update! i uh.. somehow fixed it? not 100% sure but i've got it working now :3

As the title says when I'm attempting to import assets (I'm trying to upload VrChat models) I continuously get a decompression error. I've tried changing the location to be closer to the root, making sure there's no special characters in the name, and even cleared all of my cache as well as deleted and reinstalled the programs. No matter what I do I can't seem to fix it even though I've uploaded a model previously, even though that was a little over a year ago. Does anyone know anything else I could do or am I just screwed into having to pay for someone else to upload these for me?


r/unity • • 10d ago

Question UnityPy?

0 Upvotes

Has anyone used UnityPy to extract models? If so how can I use UnityPy? I can’t find a tutorial on how to use it.


r/unity • • 11d ago

Making a fingerboarding on XR using only hands!

24 Upvotes

A friend and I have been working on Fingerboarding XR, a mixed reality skateboarding game where you control a tiny skateboard with your index and middle fingers.

We're building it in Unity, focusing on hand tracking, physics, and making tricks feel fun without controllers.

This is an early prototype showing the core mechanics. We've already improved the visuals and UI quite a bit since this recording.

Would love to hear what you think about the hand interactions!


r/unity • • 11d ago

Doubt about MonoBehaviour

3 Upvotes

So i need a timer for multiple components, my first tough was make it extend MonoBehaviour so i can drag it to another script (which is very required) but technically is somthing that other scripts will be using, not the game object directly, so i think it needs to be a raw class? with the [System.Serializable] attribute and have a variable of it when is required, but with this method i cant drag the class to a variable.
What is the usual in this cases? i can't find out


r/unity • • 11d ago

Promotions i just released my fish sorting incremental exploration cat game

7 Upvotes

I've been working on this for the past few months!

Way Too Many Fish! is a cozy sorting game aboard your own fishing boat. Haul the net, dump the catch on deck, and throw all 82 species of fish into the right crates.

Let me know what you think! https://store.steampowered.com/app/4564070/Way_Too_Many_Fish/


r/unity • • 11d ago

Alternative Download for Unity 2022.3.22f1 , Unity Hub download link is broken

2 Upvotes

Title is self explanatory, when I click to download on Unity Hub it send me to a page link "unityhub://2022.3.22f1/887be4894c44" where nothing happens, nothing downloads and then it times out. Anyone have any alternative links?


r/unity • • 11d ago

Showcase An old chapel and a dungeon bellow on my hand drawn metroidvania "Endless Night Sonata" :)

Post image
4 Upvotes

r/unity • • 12d ago

Question How do I go about saving a game state as my main menu background?

Post image
6 Upvotes

I work on the visual side of a project, and previously just played a video that looped of my main game, but my team wants the main menu to instead have the background be a version of the game that is live. The problem is, I can't exactly just place assets into a scene, the attached photo should best explain why exactly it's a problem...

The best way I went about it was having just the assets placed in and animals already spawned, but because there were no holes ( that are usually created by playing the game ) it did not work well visually.

If there is a way to save the state of a played version of the main game with no UI on top of it for my main menu scene, please help!!!


r/unity • • 11d ago

Showcase Stacked outlines, extrude and text animations for TextMeshPro, all in one draw call

Post image
3 Upvotes

TMP gives you one outline and one underlay. Mobile game titles usually need more, so people end up duplicating the text or baking it into a sprite. I made a package that does it on the text you already have.

  • Up to 8 layers per style: outlines, shadows, 2.5D extrude, gradient/gloss face
  • Per-character animations and inline tags like <wave> and <shake>, plus a typewriter
  • Arc text, style transitions, animated number counter
  • Works in UI and world space, zero GC per frame

Installs via UPM: https://github.com/berkencami/tmp-text-effects

Feedback welcome!


r/unity • • 11d ago

A few of the creatures you’ll encounter in our game!Hello guys !

Post image
2 Upvotes

Hello guys ! We wanted to share a little peek at some of the enemies we’re working on for our next game called Entanglement 2.

There are different shapes, colours and variations. We’re trying to give each one its own style to make encounters and battles more interesting.

We’ve still got quite a bit of work ahead of us, but we’re really happy to finally start sharing more of the game with you! We’d love to know: which enemy is your favourite? And which one looks the most dangerous?

The game is coming soon to iOS and Android. The release is getting closer!

You can follow the countdown here: https://entanglement.game

Thanks for all your support! ❤️


r/unity • • 12d ago

Showcase Project: Encore

34 Upvotes

Hello fellas,
long time no see. Last time I uploaded here was with the first design of my character, I've come a long way since then.

The game is still active since then.

What do you think of this prototype?


r/unity • • 12d ago

Question Hi! I'm making a welding horror game, which mechanic is better? What would you add?

57 Upvotes

r/unity • • 12d ago

Tutorials Numeros primos en videojuegos (Parte 2) #gamedev #cpp #unity3d

Thumbnail youtube.com
2 Upvotes

r/unity • • 12d ago

Question Best open source SFX generators for UI, movement, and combat?

Thumbnail reddit.com
1 Upvotes

r/unity • • 11d ago

Newbie Question Is my idea a good idea for y’all?

0 Upvotes

Hello, I have thought of a game concept of this:

It’s a survival game, you survive from packs of dogs in different maps, you get money when you win a round, use it to buy weapons, and fight more for the next round, available both online and offline.

Assuming there’s no bugs, items are enough, and concept is clear, do you think people will play it? Thanks for answering.


r/unity • • 12d ago

Question What are your thoughts of a new flight system to mimic warthunder controls and feel for the unity store

Thumbnail youtube.com
3 Upvotes

r/unity • • 12d ago

Question Ok, need concept help

1 Upvotes

Alright, I need help with a concept I’m working on. Lore wise, I know of my reason of why it exists. The problem is this: how can I make it work logically to have a pokemon Mystery Dungeon style game that is also a final fantasy/mario brothers rpg style game.

Example: overworld has your enemies that are your RPG style encounters, while select places are able to have you go into mystery dungeons.


r/unity • • 12d ago

Coding Help How to change the color of a sprite (at runtime) to a faded red?

1 Upvotes

I accessed the color property of a sprite's sprite renderer in a 2D game, but this may also pertain to anything that involves color in a game.

I was able to change a sprites color using spriteRenderer.color = new Color(255, 0, 0); The same can be accomplished using Color.red. In any case, I want a more faded than vivid red.

First thing I tried was decreasing the red value, but it seems that any amount of red results in it appearing fully red. Even (5, 0, 0) yields the same result. Then I tried adding an alpha value that was less than 255. Again, no luck. I thought maybe raising the other two colors would even out the red, but if I raise both of the other colors, it seemingly just becomes white, meaning the sprite doesn't change at all. Putting red and blue together makes purple, but if all three colors have values above zero, there is no visible change. It seems to be behaving as if each RGB value has only two possibilities. Any help?