r/Unity3D – Telegram
r/Unity3D
258 subscribers
12.6K photos
15.5K videos
14 files
47.9K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
Roc's Odyssey - A combat focused, hand drawn exploration adventure. Kickstarter is now LIVE.

Hello all you metroidvania lovers.

Me and my small team have been working on our game Roc's Odyssey for over a year in Unity part time and we have finally released our Kickstarter campaign. We have poured our hearts and souls into this and truly believe it can be something special. Please check it out at:

https://www.kickstarter.com/projects/sunshinefestival/rocs-odyssey-a-hollow-knight-inspired-2d-metroidvania

If you like what you see please send over a donation, even if its a small one as it all adds up!

If we hit our goal we can go full time on the project and really chase our dreams.

Thank you all.

https://redd.it/1jwfc46
@r_Unity3D
GameObject Prefabs Appearing in Scene View but Not Game View

I have a project in which I am instantiating hundreds of circle prefabs in a given area. Each of these prefabs has a SpriteRenderer (Default Sorting Layer, Order=0), Rigidbody2D, CircleCollider2D, and a noscript.

When I start the Game, I currently have about 500 of these prefabs randomly instantiated in an area around 0,0. Although I can see all of the prefabs in the Scene View (and in the Hierarchy), some of them are not visible in the Game View. I should also mention that they still collide with one another normally.

There are cases where I can see two circles colliding on the Scene View, then on the Game View, I only see one of the circles, but can see that it is colliding and interacting with the invisible circle as though it is there.


I thought maybe this was a performance issue, but there does not seem to be any lagging/frame dropping/etc. Considering they are all the same prefab and I can see some and not others, I am fairly certain it isn't a layering or ordering issue.

Does anybody have any ideas on what may be causing this issue? Please let me know if I can give any additional info to help narrow down the problem. Thank you.

https://redd.it/1jwdz1h
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
A year ago, I struggled to find a good 3D Tilemapper. Now, I have released my own on the Asset Store! MAPGrid is in beta, and will be discounted until full-release, so get it while it's cheap!

https://redd.it/1jwj1xy
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Here is gameplay moments from my VR game. What do you think? (With sound :)

https://redd.it/1jwc7fd
@r_Unity3D
Devs/artists: how do you go about creating your lossless open world maps?

TL;DR: How do you design open-world maps that stay sharp when the camera zooms in on the player?

Heyaa! I'm a beginner working on a small open-world demo in Unity (2D top-down RPG, not pixel art). I'm trying to figure out how to build my world map in a way that doesn't lose visual quality when the camera zooms in on the player.

How do you decide on a reference resolution, and how do you handle different target resolutions (like 1080p vs 1440p)?

Do you create one large map image and add decorative sprites, or do you build the world using tilemaps? What are the pros and cons of each, in your experience?

When designing your map (especially if you're drawing in a graphics program), how much do you consider the final in-game resolution and zoom level?

Appreciate all the insight I can get!! Tyvm!


https://redd.it/1jwm733
@r_Unity3D
UDebug Panel Giveaway – 5 Asset Store Vouchers Up for Grabs!
https://redd.it/1jwlemt
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
After 2 years of work, my game just launched on PS5 and Xbox. Not sure what to expect, but I’ve accepted both the worst and best-case scenarios. I’m just happy I finally launched it.

https://redd.it/1jwmx5f
@r_Unity3D
UDebug Panel Giveaway – 5 Asset Store Vouchers Up for Grabs!
https://redd.it/1jwlcsd
@r_Unity3D
How to exclude sprites from Sprite Mask without editing sort order or order in layer
https://redd.it/1jwqm7r
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I've been working on a plane building game for the last 2 years, today it finally launches!
https://redd.it/1jww5op
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Made first-person character movement functionality in our survival game

https://redd.it/1jwwfnd
@r_Unity3D
Is tile maps the only way to create the map?

I’m struggling with water animation and different levels of terrain, I’m about to start them but wondering if there’s anything better than tile maps for it?

https://redd.it/1jwzkec
@r_Unity3D
Object's Rigidbody rotation gets changed but then immediately resets to 0.

I had this code that sets the rotation of an object. it is called from another noscript and calls this code

public void TurnToDirection(Vector2 dir)
{
    Debug.Log("Changing rotation from this:   " + rb.rotation);
    float rot = data.TurnToDirection(dir);
    rb.rotation = rot;
    Debug.Log("Changed rotation from this:   " + rb.rotation);
}

data.TurnToDirection(dir) calls this (makes calling this function from another noscript easier)

public float TurnToDirection(Vector2 dir){
float angle = Mathf.Atan2(dir.y, dir.x) * Mathf.Rad2Deg;
return angle - 90f;
}

This code had completely worked before but now for some reason it wont, as the rb.rotation is still 0 after the function. As you can see I added Debug.Logs to see what was going on, but the rb.rotation in the log was actually completely correct and worked as intended, by the actual rotation in PlayModestayed 0 (and I put the Debug.Log in other functions and for some reason they are 0, so it just immediately goes to 0 after this function). I looked through my noscripts and there was no where else where my rb.roatation was changed besides here and I know the rb isn't null or referencing the wrong object. What is going on here then?

https://redd.it/1jx3jv9
@r_Unity3D
Player animation shakes when moving in only one direction.

Hello
I have an issue that my player sprite shake if I go to left but never if I go to right :/
I attached a video but we don't see the bug in it. It's record in 60 FPS.
My friend with another PC has the same issue than me.
I try to limit frame rate to 360 Hz but same issue.
I put below the configuration of my RigidBody2D attach to my player gameobject:

https://preview.redd.it/fq0eo65ei9ue1.png?width=614&format=png&auto=webp&s=9144288b2c86ed5f1cbf19fee6cccff1ee0cf46d



https://redd.it/1jwzafz
@r_Unity3D