Nested gameobject problem
Hi there, I'm supernew to Unity, and currently trying some very basic stuff like creating child gameobjects
to separately store a sprite and a collider for the parent gameobject. My expectation was that children with automatically have the parents' transform, but that does not seem to happen for me. Any idea on what I could be doing wrong? For the record, I am using Unity 6.
https://redd.it/1hkoqy4
@r_Unity3D
Hi there, I'm supernew to Unity, and currently trying some very basic stuff like creating child gameobjects
to separately store a sprite and a collider for the parent gameobject. My expectation was that children with automatically have the parents' transform, but that does not seem to happen for me. Any idea on what I could be doing wrong? For the record, I am using Unity 6.
https://redd.it/1hkoqy4
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
This media is not supported in your browser
VIEW IN TELEGRAM
In 2018, our Early Access flopped, and I ran out of money. I went back to work, saved up, and now, 1 month from release, we’re back! Today, we launched a free demo with create mode. Try it out (or let your kids!) and tell me what you think. Thanks! 🏃♂️🔥 (link in comment)
https://redd.it/1hko6cn
@r_Unity3D
https://redd.it/1hko6cn
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
After a year and a half I finally released my 90 minute tutorial on procedural animation in Unity! I hope it helps out the community! [Link in comments]
https://redd.it/1hkqee7
@r_Unity3D
https://redd.it/1hkqee7
@r_Unity3D
Firebase not initializing in Meta Quest 3 but does on android and editor. (Same Project)
I am trying to use Firebase with Meta Quest but it's not initializing.
Same code initializes in android phone and editor but just not in meta quest 3.
Any suggestions, devs ?
Thanks!
https://redd.it/1hkt2ud
@r_Unity3D
I am trying to use Firebase with Meta Quest but it's not initializing.
Same code initializes in android phone and editor but just not in meta quest 3.
Any suggestions, devs ?
Thanks!
https://redd.it/1hkt2ud
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
I need help with this problem that gradle.bat does not exist in my project
1. the gradle.bat file is not generated when opening the project which causes gradle errors, and precisely with those errors I cannot implement ads, I tried to change the version to create new projects and it still doesn't work, and I tried to create the gradle.bat but since they are temporary files, when closing the app that created file is deleted, could you please help me solve this problem? attached gradle error
2. \[20:00\]Win32Exception: ApplicationName='C:\\Users\\MATIAS\\PLATAFORM GAME\\Temp\\PlayServicesResolverGradle\\gradlew.bat', CommandLine='--no-daemon -b "C:\\Users\\MATIAS\\PLATAFORM GAME\\Temp\\PlayServicesResolverGradle\\PlayServicesResolver.noscripts.download\_artifacts.gradle" "-PANDROID\_HOME=C:/Program Files/Unity/Hub/Editor/2023.2.20f1/Editor/Data/PlaybackEngines/AndroidPlayer\\SDK" "-PTARGET\_DIR=C:\\Users\\MATIAS\\PLATAFORM GAME\\Assets\\Plugins\\Android" "-PMAVEN\_REPOS=https://android-sdk.is.com/;https://maven.google.com/" "-PPACKAGES\_TO\_COPY=com.ironsource.sdk:mediationsdk:8.4.0;com.google.android.gms:play-services-ads-identifier:18.0.1;com.google.android.gms:play-services-basement:18.1.0;com.ironsource.adapters:unityadsadapter:4.3.43;com.unity3d.ads:unity-ads:4.12.3" "-PUSE\_JETIFIER=0" "-PDATA\_BINDING\_VERSION=7.3.1"', CurrentDirectory='C:\\Users\\MATIAS\\PLATAFORM GAME\\Temp\\PlayServicesResolverGradle', Native error= El sistema no puede encontrar el archivo especificado.**
https://redd.it/1hku1e6
@r_Unity3D
1. the gradle.bat file is not generated when opening the project which causes gradle errors, and precisely with those errors I cannot implement ads, I tried to change the version to create new projects and it still doesn't work, and I tried to create the gradle.bat but since they are temporary files, when closing the app that created file is deleted, could you please help me solve this problem? attached gradle error
2. \[20:00\]Win32Exception: ApplicationName='C:\\Users\\MATIAS\\PLATAFORM GAME\\Temp\\PlayServicesResolverGradle\\gradlew.bat', CommandLine='--no-daemon -b "C:\\Users\\MATIAS\\PLATAFORM GAME\\Temp\\PlayServicesResolverGradle\\PlayServicesResolver.noscripts.download\_artifacts.gradle" "-PANDROID\_HOME=C:/Program Files/Unity/Hub/Editor/2023.2.20f1/Editor/Data/PlaybackEngines/AndroidPlayer\\SDK" "-PTARGET\_DIR=C:\\Users\\MATIAS\\PLATAFORM GAME\\Assets\\Plugins\\Android" "-PMAVEN\_REPOS=https://android-sdk.is.com/;https://maven.google.com/" "-PPACKAGES\_TO\_COPY=com.ironsource.sdk:mediationsdk:8.4.0;com.google.android.gms:play-services-ads-identifier:18.0.1;com.google.android.gms:play-services-basement:18.1.0;com.ironsource.adapters:unityadsadapter:4.3.43;com.unity3d.ads:unity-ads:4.12.3" "-PUSE\_JETIFIER=0" "-PDATA\_BINDING\_VERSION=7.3.1"', CurrentDirectory='C:\\Users\\MATIAS\\PLATAFORM GAME\\Temp\\PlayServicesResolverGradle', Native error= El sistema no puede encontrar el archivo especificado.**
https://redd.it/1hku1e6
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
After 6 months of work Forty-Niner gets enhanced graphics as we're moving from low-poly look to stylized one
https://redd.it/1hkwvlx
@r_Unity3D
https://redd.it/1hkwvlx
@r_Unity3D
Sprites, unity, or mixture?
I’m going to start a learning project with an objective being to produce something similar to don’t starve. A simple asset like a berry bush has a few different states, and/or animations that accompany them. Would it be better to create a few sprites and animate them, then shift between them, or procedurally generate from scratch, or…? Likewise, should I bring rigged up stuff from Krita using bones so they can flex in the wind, or try to do these deformations with shaders in unity? Yes I am new, and if you’d like to offer advice about managing this with a particular design pattern, please feel free to comment on that as well.
https://redd.it/1hkyvaz
@r_Unity3D
I’m going to start a learning project with an objective being to produce something similar to don’t starve. A simple asset like a berry bush has a few different states, and/or animations that accompany them. Would it be better to create a few sprites and animate them, then shift between them, or procedurally generate from scratch, or…? Likewise, should I bring rigged up stuff from Krita using bones so they can flex in the wind, or try to do these deformations with shaders in unity? Yes I am new, and if you’d like to offer advice about managing this with a particular design pattern, please feel free to comment on that as well.
https://redd.it/1hkyvaz
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
How would I go about creating and adding the content of this tile to a hexagon tile in Unity2D? Do I create sprites and place them on a hexagon accordingly? To be clear, this tile is 1 of many tiles, so i'm not sure how big the unity tile should be
https://redd.it/1hl6zrc
@r_Unity3D
https://redd.it/1hl6zrc
@r_Unity3D
Changing velocity of Rigidbody2D via a coroutine failed to move player along the X-axis in two seperate instances. (Platformer)
I'm a college student who recently attempted to make a game project for an assignment, which was a 2D platformer game. The game had two systems in-place to change the player velocity (not with adding force, but with directly setting velocity and freezing the player movement), which was wall jumping and knockback. Both functions worked similarly, performed well in prototyping, but as I further developed my game, both ended up completely breaking. Despite debugging code and finding absolutely nothing wrong with the code, both functions could only move the player upwards, instead of to the upper right or upper left as they were intended to do. The player's input was frozen, the velocity had already been reset to 0 in an attempt to fix the bug, and no other functions affected the velocity of the player as the walljump and knockback functions ran. Print statements came out fine when I checked if the player velocity was being set, the functions worked, but for some unknown reason the player just could not be moved on the x axis in both situations.
I couldn't remember why the knockback function failed to work; and when the walljumping broke, it was likely after i had changed how wall collisions/player collisions worked (walls used a composite collided which had to be modified as to not render jagged polygons/cause player to get stuck or slide upwards on walls, but eventually the collisions were smoothed out and the wall sliding was fixed).
These problems were unable to be solved by the time the project was due, but I would like to get to the bottom of what could have caused it in order to make sure it doesn't happen again to future projects.
https://redd.it/1hl7cso
@r_Unity3D
I'm a college student who recently attempted to make a game project for an assignment, which was a 2D platformer game. The game had two systems in-place to change the player velocity (not with adding force, but with directly setting velocity and freezing the player movement), which was wall jumping and knockback. Both functions worked similarly, performed well in prototyping, but as I further developed my game, both ended up completely breaking. Despite debugging code and finding absolutely nothing wrong with the code, both functions could only move the player upwards, instead of to the upper right or upper left as they were intended to do. The player's input was frozen, the velocity had already been reset to 0 in an attempt to fix the bug, and no other functions affected the velocity of the player as the walljump and knockback functions ran. Print statements came out fine when I checked if the player velocity was being set, the functions worked, but for some unknown reason the player just could not be moved on the x axis in both situations.
I couldn't remember why the knockback function failed to work; and when the walljumping broke, it was likely after i had changed how wall collisions/player collisions worked (walls used a composite collided which had to be modified as to not render jagged polygons/cause player to get stuck or slide upwards on walls, but eventually the collisions were smoothed out and the wall sliding was fixed).
These problems were unable to be solved by the time the project was due, but I would like to get to the bottom of what could have caused it in order to make sure it doesn't happen again to future projects.
https://redd.it/1hl7cso
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
This media is not supported in your browser
VIEW IN TELEGRAM
Optimized my custom gravity system so it can handle 2 million gravity objects easily (on pretty old gtx1650). Made with GPU Compute shaders + GPU indirect instancing
https://redd.it/1hlb4tc
@r_Unity3D
https://redd.it/1hlb4tc
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I made a FREE Super Input Prompt Icon Pack with over 1100+ for PC and Consoles [Link in comments]
https://redd.it/1hlby6q
@r_Unity3D
https://redd.it/1hlby6q
@r_Unity3D
How to create(draw) animatable 2D vehicle?
How to create(draw) animatable 2D vehicle? Like i want to create an artillery how should i draw it? Thank you for help already :)
https://redd.it/1hle1bc
@r_Unity3D
How to create(draw) animatable 2D vehicle? Like i want to create an artillery how should i draw it? Thank you for help already :)
https://redd.it/1hle1bc
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
I made a FREE Super Input Prompt Icon Pack with over 1100+ for PC and Consoles
https://www.youtube.com/watch?v=VnnN9NZ66UY
https://redd.it/1hld0sx
@r_Unity3D
https://www.youtube.com/watch?v=VnnN9NZ66UY
https://redd.it/1hld0sx
@r_Unity3D
YouTube
FREE SUPER Input Icon Pack – 1100+ Icons for PC & Consoles (Unreal, Unity, Godot)
I’m thrilled to share my NEW FREE Super Input Prompt Icon Pack with over 1100+ high-quality icons for PC and Console games! Whether you’re using Unreal Engine, Unity, or Godot, this pack is perfect for leveling up your game design.
What’s Included?
…
What’s Included?
…
Camera.Main returning null
https://preview.redd.it/bs8n67gtnt8e1.png?width=1148&format=png&auto=webp&s=19927c87d126bc809451e9c05923ce697d146618
https://preview.redd.it/jzsw6e1wnt8e1.png?width=790&format=png&auto=webp&s=a1aafe6a3795579c819be29e25575f3b62837c96
So I'm trying to reference camera.main, but I can't figure out why it's not working. I'm kind of a newbie, and no matter what information online they all say to just make sure that the main camera has the MainCamera tag, but it definetly does, so I have no idea why it's not working.
https://redd.it/1hlgvbu
@r_Unity3D
https://preview.redd.it/bs8n67gtnt8e1.png?width=1148&format=png&auto=webp&s=19927c87d126bc809451e9c05923ce697d146618
https://preview.redd.it/jzsw6e1wnt8e1.png?width=790&format=png&auto=webp&s=a1aafe6a3795579c819be29e25575f3b62837c96
So I'm trying to reference camera.main, but I can't figure out why it's not working. I'm kind of a newbie, and no matter what information online they all say to just make sure that the main camera has the MainCamera tag, but it definetly does, so I have no idea why it's not working.
https://redd.it/1hlgvbu
@r_Unity3D
I’ve just updated my guns asset pack with fresh and improved textures. It’s entirely free to download, and you can use it in your games without restrictions under the CC0 license. If this sounds interesting, here’s the link: https://styloo.itch.io/guns-asset-pack
https://redd.it/1hlgskg
@r_Unity3D
https://redd.it/1hlgskg
@r_Unity3D
itch.io
Guns Asset Pack by styloo
pistols, pm, rifles, snipers, ammo ...here