#💻┃unity-talk

1 messages · Page 104 of 1

worldly cave
#

but at least c# is so much easier and faster to use than cpp

wanton flint
#

thanks

placid yew
#

Does anyone know how to bind sorting methods on click to headers of MultiColumnListView for UITOoolkit

main gull
#

Hi, does anyone have a model for a gas station?

latent meadow
#

over 10000 of which are free. including some gas stations

lapis gate
#

Itchio and sketchfab otherwise

main gull
#

Thx

undone monolith
#

I'm making a third person medieval fighting game that I started working on today. For an attack system, I made it so that when you left mouse click, it'll show up on logs with CLICK DETECTED on the Update() function. When you attempt to left mouse click while facing the enemy capsule, they should receive 25 damage. After 4 hits the capsule will disappear. However I've been using Camera raycast earlier to detect hits, and since the Z axis is -4 away from the Player capsule, the hits didn't work and it only worked on when the Z axis was 0. So in attempt to make sure that when the Player capsule is at a distance close enough to the Enemy capsule they would take damage, however now this doesn't work in neither first person or third person.

    {
        Debug.Log("ATTACK CALLED");

        RaycastHit hit;

        // Step 1: Get aim direction from camera
        Vector3 direction = playerCamera.transform.forward;

        // Step 2: Start from player body
        Vector3 origin = transform.position + Vector3.up * 1.5f;

        Debug.DrawRay(origin, direction * attackRange, Color.red, 2f);

        if (Physics.Raycast(origin, direction, out hit, attackRange))
        {
            Debug.Log("HIT SOMETHING: " + hit.transform.name);

            EnemyHealth enemy = hit.transform.GetComponent<EnemyHealth>();

            if (enemy != null)
            {
                enemy.TakeDamage(attackDamage);
            }
        }
        else
        {
            Debug.Log("RAY HIT NOTHING");
        }
    }```
vivid cedar
undone monolith
vivid cedar
#

What components are on the Enemy object? Does it have a collider?

#

Also why are you sttarting the ray from here: Vector3 origin = transform.position + Vector3.up * 1.5f;

#

shouldn't it start from the camera's position?

undone monolith
#

I've also checked on Is Kinematic

violet thunder
vivid cedar
vivid cedar
#

Isn't it?

#

I think instead of putting magic numbers like Vector3.up * 1.5f;, you should make an empty child object on the player at the exact place and orienation you want to fire the raycast from and use that object's position and forward direction to do the raycast

vivid cedar
undone monolith
# vivid cedar you did all the right stuff here with the Debug.DrawRay and the logs. Just gotta...

I created a new empty GameObject and named it AttackPoint, then made a new public Transform attackPoint; and adjusted the Step 1 and Step 2 lines.

{
    Debug.Log("ATTACK CALLED");

    RaycastHit hit;

    Vector3 origin = attackPoint.position;
    Vector3 direction = playerCamera.transform.forward;

    Debug.DrawRay(origin, direction * attackRange, Color.red, 2f);

    if (Physics.Raycast(origin, direction, out hit, attackRange))
    {
        Debug.Log("HIT SOMETHING: " + hit.transform.name);

        EnemyHealth enemy = hit.transform.GetComponent<EnemyHealth>();

        if (enemy != null)
        {
            enemy.TakeDamage(attackDamage);
        }
    }
    else
    {
        Debug.Log("RAY HIT NOTHING");
    }
}```


And now the ``void Attack()`` works perfectly
#

!collab

vagrant rootBOT
# undone monolith !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

undone monolith
merry quartz
worldly cave
#

read the bot message

merry quartz
#

okay

forest ledge
#

o7

void skiff
#

What can I do with the _Recovery? It appears every time I open my 2D project, I don´t know why

left coyote
#

anyone know why my model has these weird shadow cuts? Im using urp

forest ledge
#

So uhh to get straight to the point:
After suffering warthunder/WoTB for years i got tired of both and now want to make my own tank game, similar to them, in Unity ( which i already downloaded ). I have 0 idea of game development and i plan on doing it all myself, where/how should i start?

#

Also i "played" the tutorial, when it came to playtesting steps it just says "No camera renders available" or something like that, idk where that issue comes from, any idea?

wraith pasture
raven depot
#

whats the channel to ask help for ui related things?

vagrant rootBOT
forest ledge
#

I mean obviously but how?

wraith pasture
forest ledge
#

!learn

vagrant rootBOT
forest ledge
#

Hmm doesnt seem to do aynthing

wraith pasture
#

did you try clicking?

full flint
left jackal
#

the code not working and im getting a error about the script

stuck flower
left jackal
stuck flower
vagrant rootBOT
# stuck flower !input
How to Set Input

To set Active Input Handling, go to:
Project Settings > Player > Active Input Handling

• Input Manager (Old): Use the original Input settings.
• Input System Package (New): Uses the new input system package.
• Both: Use both systems.

left jackal
#

what

#

!input

vagrant rootBOT
# left jackal !input
How to Set Input

To set Active Input Handling, go to:
Project Settings > Player > Active Input Handling

• Input Manager (Old): Use the original Input settings.
• Input System Package (New): Uses the new input system package.
• Both: Use both systems.

stuck flower
left jackal
#

lemme see

#

no settings i can see..

plain dagger
stuck flower
gray frigate
#

note that "Project Settings" and "Preferences" are two different windows

worldly cave
#

Isnt there also a search bar

gray frigate
#

yeah, and it

#

kind of helps?

#

It'll show you which sub-menu has the setting you want, but it's kind of bad at actually taking you to the setting

#

the Player settings menu is very dense

red zealot
#

Guys how do you get C#? I don’t have the option for a tutorial I’m trying to follow, do I have to buy it or something?

red zealot
stuck flower
#

What are you looking for that you're expecting to be there but isn't

#

You just make a file and type in it

#

You could do it in Notepad if you wanted to

#

(Please don't)

red zealot
#

I swear you select to be C sharp don’t you?

stuck flower
#

Select what

red zealot
#

Like making a file then right click and then create and then C sharp

stuck flower
#

MonoBehaviour Script

#

Or Scripting -> Empty C# Script if you want a blank template

red zealot
#

I’m kinda new so I dont really get that

stuck flower
#

Get what? Those are the buttons you'd hit to create a script

#

MonoBehaviour, or, if you want it to be empty, Empty C# Script

red zealot
#

Don’t get it as in I don’t understand whatever you mean.

stuck flower
#

I'm telling you the button to press to create a script

#

MonoBehaviour Script

red zealot
#

I’ll try do it now

#

So I can use that like I would an empty C# script?

#

And open in notebook?

stuck flower
#

If you want an empty C# script, you'd choose Scripting -> Empty C# Script instead

red zealot
#

Oh right thank you

plain dagger
#

me who still makes a monobehavior regardless

worldly cave
#

i honestly dont think i ever made an empty script lol

#

out of habit i just make MB and delete everything in the base template if i need an empty script

plain dagger
#

same, i dont even remember when the other options were added

gray frigate
#

i usually create scripts from inside of Rider now

lapis gate
#

I dont trust unity enough to make scripts in my ide

#

had some meta file problems having to clear everything

latent meadow
#

i had odd issues a while back too. have not tried since. may be fine now, for all i know

haughty hamlet
#

I apologize if this isn't the appropriate channel for this type of request.

Could someone help me with a small project using Unity and Vuforia? It involves importing a 3D model and a dynamic graphic.

vagrant rootBOT
# latent meadow !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

untold breach
#

haven't made a project for web in a while.
My game is finished and already on itchio with a windows export.
I'd also like it to be available to play directly in the web browser, but am I remembering correctly the switch platforms thing has extra steps?

latent meadow
vagrant rootBOT
latent meadow
haughty hamlet
#

Ok, thanks.

opal coyote
#

hi

#

if i need help is this the correct channel to ask for help?

latent meadow
#

maybe,. scroll up a little bit and read the "Asking Questions" post from a moment ago

vagrant rootBOT
#

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

opal coyote
latent meadow
#

well, then you have 1 of the mentioned things done.

opal coyote
#

i dont understand the other one im new to this

#

seems complex

latent meadow
#

read all of them. skip the two you do not understand

opal coyote
latent meadow
#

💭 Find an appropriate channel by reading the name and description in ⁠🔎┃find-a-channel
❔ And don't ask to ask, ask a full question illustrating with screenshots if needed.

opal coyote
#

i think this channel would be appropriate

latent meadow
#

ok

opal coyote
#

its not working

#

idk why

opal coyote
worldly cave
#

its not working how.

#

what isnt happening that you are expecting to happen

opal coyote
opal coyote
worldly cave
opal coyote
worldly cave
#

share your code

#

!code

vagrant rootBOT
opal coyote
#

lemme read this

#

its only 80 lines can i just share it here?

worldly cave
#

only 80 lines 💔

#

use the pasting site please

opal coyote
#

oh nvm imma do it

opal coyote
#

what language is ts bro

#

C or what

#

imma just say python

#

do u want to see my components too?

#

i have character controller no rigidbody

opal coyote
worldly cave
#

my god dude gimme a fucking moment lol

opal coyote
#

i got all day if you got all day

latent meadow
#

that is kind of the point of discord. you may not get a response until next week, if at all.

opal coyote
worldly cave
#

what is this attitude

#

your 80 lines of code arent the center of the universe

stuck flower
latent meadow
opal coyote
worldly cave
#

did you set up your input action asset?

stuck flower
#

Who do I file my time card with?

worldly cave
#

are you getting any errors in the console or ide?

stuck flower
#

Do we count hours by tenths or do we round to the nearest half-hour?

worldly cave
#

what about my other question

opal coyote
opal coyote
#

yes

worldly cave
#

Add this into your update... and show us what it shows when you try to move

opal coyote
worldly cave
#

im writing it

#

give me a second.

#

Debug.Log($"Move Input: {moveInput}, Vertical Velocity: {verticalVelocity}, IsGrounded: {isGrounded}");

opal coyote
#

oh that was quick

opal coyote
worldly cave
#

put it in your update function

opal coyote
#

where is my update function

#

downloaded unity today

worldly cave
#

its right there

#

in the code you sent

opal coyote
#

oh its in the code i thought its in the app

#

ok wait

#

lemme find it

#

bro i did not write ts code i dont understand nothing not even the words

worldly cave
#

you didnt write it?

#

what

opal coyote
worldly cave
#

well who wrote it

opal coyote
#

oh u mean void update?

opal coyote
worldly cave
undone forge
#

New to unity, im looking at walls in lethal company and I see how theyre textured and I wanna apply that similar to the walls in my game, im using pro builder. how do i make my walls have this same kind of texture? (the indents / bubbles in the concrete)

opal coyote
#

he goes by the name cop

stuck flower
worldly cave
opal coyote
worldly cave
#

or even tessellation

opal coyote
#

different time zones

stuck flower
opal coyote
stuck flower
worldly cave
#

honestly it might straight up be tessellation

#

considering it uses hdrp

stuck flower
opal coyote
worldly cave
#

no

#

not like that

undone forge
worldly cave
opal coyote
latent meadow
stuck flower
vagrant rootBOT
undone forge
opal coyote
serene summit
#

Hi, Is anyone here who can help me with shader for 2D?
I want to build the water sorting game. But can't find any resources to do the simulation that the colors should behave like liquid inside glass tube 😢

opal coyote
# worldly cave not like that

void update()
Debug.Log($"Move Input: {moveInput}, Vertical Velocity: {verticalVelocity}, IsGrounded: {isGrounded}");

#

like this?

stuck flower
serene summit
#

Thanks

stuck flower
worldly cave
stuck flower
undone forge
worldly cave
stuck flower
#

But you can do it in URP just fine with a PBR material

serene summit
worldly cave
#

well it might take some time

#

but its the correct channel for that question

#

so be patient

worldly cave
opal coyote
worldly cave
#

wowowow soo cool i love hdrp

stuck flower
latent meadow
#

yeah, Tesselation with displacement is awesome 😄

worldly cave
#

theres also parallax mapping, which is even cheaper, but a bit more limiting

latent meadow
#

but parallax will be flat from the side, right? (extreme angles)

worldly cave
#

yes

opal coyote
#

yo kuzmo i added it i get an error now lemme send it

worldly cave
#

im like 99% sure you are getting an error because you didnt add it properly

#

you also should listen to what digiholic told you

opal coyote
opal coyote
#

lemme send it to you

#

the way i added it

worldly cave
#

you do not have to

#

change isGrounded to cc.isGrounded in the log

#

i see it now

opal coyote
#

void Update()
{
Debug.Log($"Move Input: {moveInput}, Vertical Velocity: {verticalVelocity}, IsGrounded: {isGrounded}");

#

like this then so on

stuck flower
#

Change isGrounded to cc.isGrounded in the log

opal coyote
opal coyote
worldly cave
#

bruh atwhatcost

stuck flower
worldly cave
#

bro said it louder

opal coyote
#

no errors but still no walking, jumping or crouching

#

:((

#

there is nothing wrong with the code i think since u didnt mention anything so its maybe the components or sum like that

stuck flower
#

This wasn't supposed to fix anything

worldly cave
stuck flower
#

this was literally to debug

worldly cave
#

the point is the information it gives you

#

or rather us

opal coyote
stuck flower
#

That's why it says debug log

worldly cave
#

open your console

opal coyote
#

it says true

#

is that good or bad

worldly cave
#

it should say a lot more than that

opal coyote
#

ok wait lemme ss

#

Move Input: (0.00, 0.00), Vertical Velocity: -2, IsGrounded: True
UnityEngine.Debug:Log (object)
SimplePlayerController:Update () (at Assets/Scripts/Player_Movement_Basic.cs:41)

stuck flower
#

Does MoveInput ever show anything but 0,0

opal coyote
#

nope

#

only 0s

#

i think it might be the components or sum

stuck flower
#

Then you're never pressing whatever buttons are mapped to Move

opal coyote
#

WASD, C, left shift

#

none work

worldly cave
#

the code would beg to differ

#

the code is the arbiter of truth, if it says you arent, then you really arent lol

#

and there could be a milliong reasons why

#

maybe the gameobject isnt configured properly

#

maybe the input asset isnt configured either

stuck flower
opal coyote
opal coyote
stuck flower
#

So, what makes you think that those buttons are assigned to the input action Move

opal coyote
#

infront of me

worldly cave
#

in the input asset?

opal coyote
#

yep

latent meadow
#

screenshot

opal coyote
#

im like 100% sure abt this one

opal coyote
worldly cave
opal coyote
#

as u can see WASD

#

am i right

#

or i have skill issues

#

the crouch is C the sprint is left shift

#

none work

#

nothing happens when i press them

stuck flower
opal coyote
worldly cave
opal coyote
worldly cave
#

why are you screenshots the way that they are

stuck flower
#

Okay, so that's good, now, is this the map you're actually using in your PlayerInput component

worldly cave
#

why are you cropping them at all

#

do you even have a PlayerInput component as well

stuck flower
#

(At least "Up" is correct)

opal coyote
worldly cave
#

no need

opal coyote
#

i just press f11

worldly cave
#

press "prntsc" on your keyboard

opal coyote
#

i could crop all the screen

worldly cave
#

then ctrl v

opal coyote
worldly cave
#

pretty sure its prntsc in every language

#

should be this

opal coyote
opal coyote
worldly cave
#

yeah

#

duck

abstract umbra
opal coyote
#

i think its the same map

worldly cave
opal coyote
stuck flower
opal coyote
#

my mouse movement works is fine and works perfectly but not the player movements

#

is there any other ss yall want?

stuck flower
abstract umbra
opal coyote
#

are we serious rn

#

that small problem

opal coyote
#

why is my mouse cursor aint disappearing

#

i had it in the code right?

supple mica
#

this channel is fun to look that everyday

abstract umbra
opal coyote
supple mica
opal coyote
#

nvm twin

supple mica
#

Nah we all gotta improve somehow, nothing's invalid

opal coyote
#

hide cursor on start is checked but it doesnt hide it

#

oh nvm

#

its hiding now the first time was bugged or sum idk

abstract umbra
#

cursor while in the editor is behaving slightly differently from compiled build because you need to be able to test your game, iirc you need to do a left mouse click to make it disappear and esc brings it back

worldly cave
#

you can right click too

opal coyote
#

i did it first time idk why it still didnt hide the cursor

#

its working now though

abstract umbra
#

player input is working too?

opal coyote
abstract umbra
#

what was the reason it wasnt working ?

opal coyote
#

it should have been on invoke c sharp events instead of send messages

#

a really simple problem 😭

#

which only requires knowledge

opal coyote
#

do i have to put them somewhere?

worldly cave
#

make them work how....

opal coyote
worldly cave
#

i think this is now way past your skill level

opal coyote
#

like rn the character is just going forward without his feet moving

worldly cave
#

and not something we can explain in 15 minutes

#

or an hour

#

you need to understand both how to use the animator, and c#

opal coyote
worldly cave
#

without knowing c# basics? youre not going to get far

opal coyote
worldly cave
#

then ask him to do it.

opal coyote
#

imagine being patient

#

i aint waiting

#

imma go figure it out somehow

#

imma lyk the results

worldly cave
sweet stirrup
opal coyote
worldly cave
#

i cant stop you from posting it here lol, just dont ping me for it or anything please

opal coyote
#

the name is just gor?

supple mica
#

Is it good practice to build a bare-minimum working version of a mechanic first, then refine it later as your skills improve, rather than trying to make it very good upfront

sweet stirrup
opal coyote
opal coyote
#

i want a channel for basic animation stuff in unity

#

or even just a video

sweet stirrup
opal coyote
#

found it ty

sweet stirrup
opal coyote
abstract umbra
sweet stirrup
opal coyote
abstract umbra
supple mica
#

maybe he's redirecting his time into his first game

vivid tiger
#

Yo guys whats the average response time on the unity modmail thing? on my brothers account tryna get mine unbanned that was banned few years back cause i wrote something in the bio that i no longer remember but im sure it was somethingg wild that i thought was kinda funny back then

abstract umbra
sweet stirrup
supple mica
abstract umbra
vivid tiger
# worldly cave the server modmail?

yea its been annoying cause i havent been able to get any help for alot of my projects cause of this stupid thing i did back then i wanted to get some opinions on my project too but cant keep asking my brother for his account for it

worldly cave
#

do they even do unban requests here?

latent meadow
#

occasionally

vivid tiger
#

i kind of have absolutely no idea

worldly cave
vivid tiger
#

it could be like a racist joke i had on it maybe? im not racist but like ya know sometimes friends make jokes

worldly cave
#

uhuh

vivid tiger
#

ma man

#

i was like 16

worldly cave
#

heres my tip

vivid tiger
#

gimmie a break im 20 now

worldly cave
#

dont get your brothers account banned for ban evasion

latent meadow
vivid tiger
#

i never even actually did something bad here man

worldly cave
#

its not for us to decide lol

#

just be patient with the modmail

vivid tiger
#

true

worldly cave
#

and wait, but yeah if you continue to use the account to talk and speak here, it could be considered ban evasion

latent meadow
opal coyote
vivid tiger
#

my brother is sleepin he kinda doesnt know im on his account rn either 💀

opal coyote
#

idk

opal coyote
latent meadow
#

don't

opal coyote
vivid tiger
#

i am rn

opal coyote
vivid tiger
#

is the three strike thing new i dont remember getting any messages from unity? it was an instant ban

latent meadow
vivid tiger
opal coyote
latent meadow
#

ok, you have been given all the inforamtion you need @vivid tiger

supple mica
#

Ngl I never read server rules, but common sense always suffices

worldly cave
worldly cave
#

unless it contributes something to the conversation, it need not be said

vivid tiger
#

Yea i was just not thinking about this server since i was never on here much it was somethin goin on in another i kind of didnt think about the ripple effect

opal coyote
worldly cave
#

stop

latent meadow
opal coyote
vivid tiger
#

i just checked

#

i never received any warnings

opal coyote
#

cuz like the rules and stuff have changed so u might get unbanned idk

vivid tiger
#

i wouldve changed it immediately if i did im pretty sure i realized that i was ban a long time after when the thing was already removed as well

opal coyote
vivid tiger
#

gon have to wait a long time for this tho i think was hoping i couldve sorten this out before my brother wakes up

latent meadow
#

you have already been shown how to contact them. please stop flooding the room.

opal coyote
#

yo zain ignore this guy hes special

#

like hes a special kid i think

vivid tiger
#

🤝 mb g

#

LMFAO

opal coyote
supple mica
vivid tiger
#

is this a real role?????

#

howd u even get this 😭

worldly cave
#

youre definitely ban evading at this point

vivid tiger
#

mb

#

gon ditch den

#

cya fr

worldly cave
#

can you stop spamming holy shit

latent meadow
#

<@&502884371011731486> please review @opal coyote

opal coyote
opal coyote
supple mica
#

I think this is a unity talk channel

opal coyote
#

why do u expect me to get muted or sum

sage basin
#

!mute 1003370825946243152 1h muted until this is resolved

vagrant rootBOT
sage basin
#

!warn 1003370825946243152 this is a development server, not for idle chatting. Don't spam emoji or post off-topic. Don't bother other users, engage in ableism, or ping people for no reason. This is a final warning.

vagrant rootBOT
oak shell
sage basin
#

?softban 1198681938597257257 bot scam

novel scarabBOT
#

dynoSuccess baklavaguzel was softbanned.

sullen scarab
#

So much real estate, but we still gotta truncate file names? 😭

latent meadow
#

annoying, huh. you can use the slider in the bottom right, which will sacrifice the big icons and make a list, Or make bigger icons which might display more text. i forget if any assest fix the issue with a 'line wrap' type function

sullen scarab
#

I guess I can use the one column view, but I am gonna miss the folder-file seperation the two column view had

latent meadow
sullen scarab
#

space navigator eh?

latent meadow
#

yeah, but it is just what i had open at the time. it is meant to show you can do it this way

sullen scarab
#

Oh, I thought that was the name of the package that causes what you show there (alongside the slider)

#

How did you get the 2nd column to be in list format?

latent meadow
#

by moving the slider..

sullen scarab
#

oh

#

lol

latent meadow
#

yeah, the image itself is kind of misleading, but it was stated in the text of the original response, so i wasn't too accurate with the arrows

sullen scarab
#

Oh don't worry about it lol, I should've paid more attention xd

keen elbow
#

Whats the best way to reference objects within a prefab's script? I want to reference the GameController script that is attached to a game controller object. I was told by a friend to make the game controller into a singleton, but it seems like the general opinion of that approach online isn't very positive

#

i know if im just making a basic project for learning unity that using a singleton is fine but I want to be absolutely sure that I'm using the best practices lol

latent meadow
sullen scarab
lapis gate
keen elbow
lapis gate
#

if it's all prefab'd you can just expose the property/field and link it all together in the editor

#

that's the handy thing about prefabs

oak meadow
lapis gate
#

You're either referencing some sort of management system if it's not tied together in prefab, and unless you're caching that reference somewhere, you might just be better with a singleton.

#

But say that the object that needs to reference the prefab is the source that is initializing it, well you get the reference right then

storm patio
#

!collab

vagrant rootBOT
# storm patio !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

storm patio
#

reset the clock...

sullen scarab
lapis gate
#

Two easy ways to cache a scene reference
1: just drag the reference into the management system
2: In awake, let the object call the singleton and bind itself to it.

keen elbow
#

maybe im dumb and im misunderstanding, but you know im trying to reference the management system from the prefab correct? not the other way around

#

because (correct me if im wrong) afaik you cant just drag a non-prefab object (management system) into a prefab object's script's public field

sullen scarab
#

Yeah, so, so long as I'm not mistaken, you can do what I said above for that

keen elbow
#

yeah but what if i dont want to use a singleton?

#

sorry if im not understanding 😭

sullen scarab
#

Oh, well that changes everything at that point

keen elbow
#

i know singletons are probably ok, i just want to know what the best practice is

#

so i can instill the habit at an early point rather than having to learn it later

#

like i could just use GameObject.Find() but i don't really want to do that

sullen scarab
#

Singletons have their place, and as game managers, they're pretty great

oak meadow
#

I dont think you can reference the management system in the prefab

sullen scarab
#

Like I get your hesitance with singletons. I did a similar rabbit hole a few years back, and then ultimately came to the conclusion that they're there for a reason.

oak meadow
latent meadow
#

!collab

vagrant rootBOT
# latent meadow !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

lapis gate
#

Singletons are a core concept and Unity encourages a GameManager anyway.

gusty abyss
latent meadow
sullen scarab
#

I wonder, does this server have any rigorous code review channels? I built an effect system that consists of about 10 related classes and I was wondering if I could get feedback on it

gusty abyss
#

yea I have an authorization script for playfab I wanted to get a review on too

last flame
storm patio
sullen scarab
#

Fair enough

vital fractal
#

just updated my editor version from 6.0 to 6.5 and i got a bunch of these errors. i dont really understand about how to fix it, can someone help me?

gusty abyss
#

so delete the library folder

vital fractal
gusty abyss
#

I wouldn't do it until a professional validates this

vital fractal
#

i trust u enough, brb ill try it

gusty abyss
#

I don't know what im doin though I just said what ive heard

#

from a few months ago

slow dirge
#

Yes, library is regenerated by Unity, so there's no problem in deleting it. It can take some time to regenerate though.

gusty abyss
#

so I was right

gusty abyss
#

would showing something I made for a game made in unity but not my game be appropriate for #🏆┃daily-win

latent meadow
#

probably yes. the channel is mostly about inspiring/getting inspired. just make sure it is not a veiled advertisment/promotion

gusty abyss
#

alr

plain plover
#

Hey, I'm having an issue with Unity and could really use some help. Also, sorry if this is the wrong channel, I'm new here. Every time I try to open a project it loads normally but then suddenly closes and kicks me back to Unity Hub before the project fully opens. This happens with all my projects and even brand new empty ones.

I checked the Editor.log and it always crashes during texture import with "Got a UNKNOWN while executing native code."

Things I have already tried:

  • Deleted Library and Temp folders
  • Reinstalled Unity Hub
  • Tried both 6000.3.5f2 and 6000.4.0f1
  • Added -force-d3d11 launch argument
  • Removed com.unity.collab-proxy from manifest.json
  • Clean reinstalled NVIDIA drivers
  • Cleared Unity shader cache

System specs:
OS: Windows 11
RAM: 32GB
GPU: NVIDIA RTX 3060
Unity Hub: 3.16.4

Would anyone be able to help or even hop on a call/screen share? Happy to provide the full Editor.log if needed.

slow dirge
#

!code

vagrant rootBOT
plain plover
sweet tartan
#

you might want to post the editor log from an empty project with the issue. This one is noisy and has third party assets in it

plain plover
zenith bobcat
#

Just wondering smth

How in unity 6 do I make a full body fps character, the one where you can look down up left and right and view your whole body mesh from the front, similar to how Roblox, dying light, COD, and other games work

slow dirge
latent meadow
zenith bobcat
#

What if my models hollow internally

#

Do I just use blender and modify it to solidify inside

copper gust
#

it should be hollow

latent meadow
#

all models in this context are. you put the camera far enough forward to be outside the .. inside

zenith bobcat
#

Any more info please because I can't find anything useful online

#

Do I attach the camera to the head bone rig als

zenith bobcat
latent meadow
slow dirge
# plain plover https://paste.ofcode.org/w3MxWSDy3zpK9svCLZ8s3E

One thing I noticed is that it seems to always crash on a texture importer:

Start importing Packages/com.unity.render-pipelines.core/Editor/PostProcessing/LensFlareResource/PolygonFlareThumbnail@2x.png using Guid(0047263fa58f91d49a61936e94358829) (TextureImporter)
plain plover
slow dirge
#

Another thing is that it seems to fail to load all the project assemblies:


Assembly Assembly-CSharp-Editor-firstpass.dll at Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll not valid. Loading of assembly skipped.
slow dirge
plain plover
slow dirge
plain plover
#

I just reinstalled the Unity Hub, did you mean something else previously?

storm patio
#

the unity editor

plain plover
#

The editor is still not launching

slow dirge
plain plover
storm patio
#

it's jsonl, but close enough

#

the extension on the file is json though

undone monolith
#

Is there a way to keep Unity's input system to both by default

#

whenever I make a new project, I have to always change it

feral heart
#

Are there any complications that arise from moving default file locations from the C: drive? I want to change it for file size reasons but I’m not sure if it’ll mess anything up.

latent meadow
#

default files?

feral heart
#

My projects and editors and such

latent meadow
#

projects should be no problem. you can reinstall the editors to a new location, yes. also, be aware that a large usage can be the package caches. let me get a screen shot, on sec

#

yours will show different, since i moved mine off onto a different drive

gusty abyss
#

wasn't unity suppose to get a giant overhaul on the animation system

#

whens that coming

storm fable
#

so i just download the unity hub but when it downloads the editor at 100% it says validating then faild to download i tried three times but still the same

#

!install

vagrant rootBOT
# storm fable !install
When Unity fails to install checklist
  • Make sure you have enough space including on C: drive.
  • Check that it's not being blocked by antivirus/security programs.
  • Look through the logs for a real reason why the setup fails they are pinned [here](#💻┃unity-talk message).

If you still have issues, perform a clean install in another location:

  • Install the Hub and Unity in a non-system drive or a clean new folder in the root of C: drive.
  • Failing that use the recovery Refresh option or reinstall OS entirely then repeat the previous step.
raven patrol
#

Hi there, is it only me or the Unity Asset Store website is painfully slow ? And it is definitively not related to my internet connection speed. Every time I want to add a free or paid asset to my account, it take me at least 1 hour. The Add Asset button not responding, popup with spinning icon run for 10 minutes, I've to log out and log back in... I'm using the latest version of Google Chrome on windows...

#

Ho yeah I see the issue, can someone explain why the Asset Store Website eat 15 GB of my RAM !! And it keep climbing haha.

sly lake
#

That RAM usage is insane though 😄

inland apex
#

What is the best version to make vr games on it is my first time

raven patrol
fierce shuttle
#

does anyone here have any tips on building a unity build server? I have github actions running on a local runner, but the build times are quite long despite the server being quite powerful and im assuming this is because it keeps having to build the library.

#

at this point its quicker to run the build on my computer and upload it to steam manually

#

I have unity accelerator running too but

#

doesnt seem to help much

potent geyser
#

!collab

vagrant rootBOT
# potent geyser !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

potent geyser
#

We need a pingable roll for all these gtag fan game enthusiasts.

inland apex
#

Any tutorial suggestions for a multiplayer vr game

vagrant rootBOT
stuck flower
potent geyser
#

Maybe Unity Discussions needs a pinned "For GTAG Enthusiasts" post in the collaboration forum that we can link directly to. 😆

stuck flower
opal coyote
viscid raft
#

Actually, nevermind, you're clearly not here with a purpose

opal coyote
charred fog
#

@opal coyote You were warned already not to start random conversations here.

opal coyote
charred fog
#

@opal coyote Again. Don't ping people randomly. If you have a question post it.

opal coyote
# opal coyote aight bet

@charred fog isnt this considered random pinging? they just pinged me with a reaction for no reason. btw im asking a question rn

yall muted me for 1hr and warned me shouldnt this guy also be muted for 1hr and be warned?

charred fog
#

Do you have an actual Unity related question?

opal coyote
opal coyote
#

about animations

charred fog
#

So ask it and stop spamming the channel with off-topic

inland apex
#

Is there any way to move my pov when editing

gusty abyss
#

can someone code me a vr game for meta quest for free?

viscid raft
inland apex
#

Idk where I am I move all I want but nothing happens

viscid raft
opal coyote
viscid raft
inland apex
#

How do I manipulate shapes like rn I can only move them

stuck flower
#

Is there even anything in the scene to find

inland apex
#

When I look up my head modle looks down

viscid raft
inland apex
#

Nvm it's backwards

viscid raft
#

Whatever the case, if you expect help then you're going to have to share your code. Otherwise it makes no sense to message this channel

inland apex
#

I figured it out the moddle was faceing the wrong way

#

How would I rotate object
PS this is my first time on any good game creation platform

worldly cave
#

rotate in the editor or through code?

inland apex
#

Editor

worldly cave
#

!learn

vagrant rootBOT
worldly cave
#

go follow the essentials pathway

#

to learn about the basics of using the editor

#

we cant teach you the fundamentals every step of the way here on discord

inland apex
#

Got it the menu thing was blocking it

worldly cave
#

good, i still recommend you go do the essentials pathway

inland apex
#

Ok

worldly cave
#

no reason not to if you want to actually use unity

inland apex
#

Last thing for now

#

I can see my eye models how do I make them invisible to the local player

stuck flower
copper imp
#

xd

boreal river
#

Hey, guys! Why do we use Tile Palettes & Sprite Editor in 2D I mean sprite editor is actually a way to slice whatever sprite we want to use and also change the pivot points for example of a sprite? I haven't really used a lot Tilemaps and Tile Palettes, so if someone could explain to me maybe, I know there is a documentation but I would like to hear your way of thinking about them.

copper gust
#

have you watched tutorials on them?

boreal river
#

now thats what I do

#

but I just wanted to know more maybe you have something to share

gray frigate
#

a "Sprite" is an asset that contains:

  • which texture to look at
  • which part of the texture to use
  • where the "pivot point" of the sprite is
#

You often have many sprites in a single texture

#

it would be very inefficient to upload thousands of time textures to the GPU

#

so you pack them together

#

the Tile Palette exists solely to make it easier to edit your tilemaps

#

it lets you easily switch between tiles (including tiles with custom settings, like a different color)

spice cloak
#

can anyone make a gtag copy for me u will be owner aswell (vr)

copper gust
#

nope

worldly cave
spice cloak
stuck flower
spice cloak
#

what…

copper gust
#

(anyone wanting to make a gtag game would just make it, they don't need you)

boreal river
#

my walls doesn't look good

#

at the right side they are off the range of pixel perfect camera view

stuck flower
boreal river
#

I am using pixel perfect

#

320x240 resolution both on pixel perfect camera and display on game view

stuck flower
#

What does the texture look like? Do the sprites just look like that?

boreal river
#

these sprites were made by me on Aseprite

#

yes

stuck flower
#

So what exactly is the problem then

boreal river
#

the problem is they arent isometric

#

you see the walls at the right side

#

and the walls on the left side

#

its because of the camera view I am not sure how to make them fit the screen properly

stuck flower
boreal river
#

check this out

stuck flower
boreal river
#

sorry

#

I want them to look symmetrical

#

my bad

stuck flower
#

!collab

vagrant rootBOT
# stuck flower !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

inland apex
#

I'm trinna do this tutorial but it says something about compiler errors

stuck flower
#

No shilling

opal coyote
storm patio
boreal river
stuck flower
inland apex
storm patio
#

yeah no, not this

#

!screenshots

vagrant rootBOT
stuck flower
#

send a real screenshot

storm patio
#

you didn't even show the error lmao

stuck flower
inland apex
#

I'm on discord phone and code pc

boreal river
#

I can just increase the pixel perfect camera view no?

stuck flower
boreal river
#

size probablty

inland apex
#

I forgot my password

stuck flower
#

That's a you problem

#

And easily fixable

storm patio
#

helping through 2 steps of literal telephone is not going to be conducive to helping you

magic flume
#

hey guys, how do i make my camera follow my player?

stuck flower
# boreal river

It is symmetrical. Both of your walls are "bleeding" over the same amount from their tile

#

It's just that on the left, the small side is being cropped by the camera, and on the right side, the big side is being cropped

boreal river
stuck flower
#

So, it seems that your "wall" tile is bigger than your grid

storm patio
stuck flower
#

Or, actually, I think I might be seeing the camera boundaries instead of the tile boundaries?

#

It's hard to tell, I might be chasing a ghost

#

I think the problem is just that your camera's position isn't aligned to the grid. Just move the camera a bit

boreal river
#

wait I think

#

the grid wasn't at the origin point that was the problem it was supposed to be at (0,0,0)

#

for one reason I cant see right now my tiles what is happening XD

copper gust
#

i imagine this doesn't help

boreal river
#

so what no that wasn't the issue

stuck flower
#

There's still a Z-axis even if you don't see it from this angle

boreal river
#

I got really confused

stuck flower
#

Are the tiles actually in front of the camera

boreal river
#

I mean why I cant see the tiles I mean

#

yes I have orthographic view

worldly cave
stuck flower
worldly cave
#

if you have 2 tiles at the same xy position but different z positions

#

one will show while the other wont

boreal river
#

oh maybe thats because I change the position to 0,0,0

#

of the grid?

stuck flower
#

Is 0,0,0 in front of the camera

magic flume
stuck flower
magic flume
#

how do i lock it

stuck flower
#

Probably because you're flipping the character over, and the camera is now looking at the backside of your scene whenever you turn around

#

Go in to 3D view and see what is happening there

lavish laurel
#

Hello i am new i am developing a new game called XboxTale

magic flume
boreal river
stuck flower
boreal river
#

and now I see my tiles, so probably that was the problem

magic flume
boreal river
#

Do I have to have my scale at 2x or 1x?

#

on game view

#

my resolution is 320x240

#

and why?

stuck flower
storm patio
stuck flower
#

So it could be either

storm patio
#

i don't think inverting X would affect Z

#

it certainly doesn't affect Y

candid trout
#

can i make money from learning unity?

storm patio
#

no

#

you can't really make money from just learning anything

stuck flower
#

You have to actually do stuff

storm patio
#

if you apply the things you learn in a way that other people value, then you might be able to make money. but it's never a guarantee

candid trout
#

but how do i find clients

stuck flower
candid trout
stuck flower
#

If you want money, write accounting software

#

If you want to make games, make games

candid trout
#

okk

copper gust
worldly cave
#

or just be a content creator or something

#

create content about making games UnityChanThink

#

when in doubt sell shovels during a gold rush

candid trout
#

but first i gotta learn how to use this thing

copper gust
#

will take months - years so you have time to think

worldly cave
#

that was not a serious suggestion

#

you are even less likely to succeed as a content creator

candid trout
#

yeaa ik

boreal river
candid trout
#

but why not to give it a try

boreal river
#

does it look fine to you guys?

#

The walls specifically I mean

worldly cave
#

and if you want to do it you should

#

but dont expect to make money from it

#

and if youre just in it for the money, i would say pick a different skill

boreal river
#

I have to somehow make my walls look symmetrical

#

top, right, left, bottom

gray frigate
# boreal river

It looks like your pixel-perfect camera isn't configured correctly. The walls look aliased.

#

the gaps between the bricks aren't consistent

candid trout
gray frigate
#

can you show the original texture?

boreal river
#

@candid trout Don't get into game development, you wont like it believe me 😭

candid trout
boreal river
#

if you dont have patience and you are a person that can easily ragebait do not

worldly cave
#

you could

#

but also not a lot of money in it unless the assets are really good lol

candid trout
worldly cave
#

takes also a lot of time and effort

#

and practice and skill lol

#

none of this is easy

candid trout
stuck flower
copper gust
boreal river
#

what I have wrong??

gray frigate
worldly cave
candid trout
worldly cave
#

people either get free assets or buy quality ones

boreal river
gray frigate
#

can you show me the preview pane? i need to see the actual texture :p

magic flume
#

i fixed my camera and flipping issue turns out its better t use flipX in renderer so the camera wont change its Z rotation

gray frigate
candid trout
#

or it requires more time?

stuck flower
copper gust
boreal river
worldly cave
#

ok this is a troll

candid trout
worldly cave
#

almost certainly

worldly cave
#

you have this all backwards

boreal river
#

the problem is not the texture

gray frigate
stuck flower
gray frigate
#

I want to make sure you aren't having two problems right now

copper gust
gray frigate
#

You do, indeed, have a problem with your camera placement

boreal river
worldly cave
boreal river
#

I know what I have exported

gray frigate
#

I'm not even suggesting that your texture is a problem

worldly cave
#

takes like an entire month!

copper gust
#

There's no reason to assume you can make tilable textures correctly

gray frigate
#

I want to see what it looks like so that I can be sure that you aren't having a problem with your pixel-perfect camera

boreal river
#

its not a hard skill to learn and I did it myself so I know what I have exported

copper gust
#

sick, no one will remember that or care

storm patio
#

we do not know what you are capable of, because contrary to popular belief, we are not in your walls

copper gust
#

post the sprite

storm patio
#

being able to challenge or validate assumptions is a crucial step in debugging. just show this thing so we can eliminate it as a possible culprit

magic flume
gray frigate
#

I'm suspecting that the camera isn't aligning correctly with the tiles, causing the gaps between the bricks to be uneven

#

Thererfore, I need to see the original texture, so that I can decide if this is just how it's supposed to look or if something is wrong with your camera

storm patio
#

or it could be the pixel perfect camera doing the weird upscale render texture thing

#

or it could be the gameview being small/zoomed messing with it

gray frigate
#

indeed

storm patio
#

so many possibilities

#

imagine not being able to eliminate any...

gray frigate
#

you'd get this distortion if your game view's scale was not set to 1x

candid trout
copper gust
gray frigate
candid trout
storm patio
gray frigate
copper gust
stuck flower
stuck flower
gray frigate
#

I would suggest participating in game jams. You get exposed to a lot of stuff all at once

#

i had fun making assets REALLY QUICKLY

stuck flower
#

Teams of dozens of people take months to make a single character

boreal river
#

so, I have to figure out what the problem is

worldly cave
#

and isnt that profitable

magic flume
worldly cave
#

nobody is a full time "asset developer"

storm patio
boreal river
#

@copper gust Hey! You are very rude bro

worldly cave
#

well ok

storm patio
#

and multiple answers have been given

worldly cave
#

most people arent lol

copper gust
worldly cave
#

there are some studios dedicated to it like synty

storm patio
copper gust
#

when you ask for help

#

read it !

#

or go away

candid trout
storm patio
#

probably not

worldly cave
#

there are far better ways to do that

#

like actual work

stuck flower
copper gust
#

like it's insane

candid trout
storm patio
#

crypto scamming script kiddies, ig

magic flume
viscid raft
candid trout
copper gust
storm patio
#

uh hey how old are you?

boreal river
candid trout
storm patio
#

it feels like you don't really have a grasp on the scale of employment lol

boreal river
#

I have figure it out

stuck flower
copper gust
candid trout
storm patio
boreal river
copper gust
#

Plenty of people want to help you but any discussion with you ends up with you responding with these weird complete voids in communication

storm patio
#

you really gotta figure out how to communicate properly

magic flume
boreal river
#

I have made a lot of progress but

worldly cave
#

lol

#

like im sure if the synty guys decided to actually make games they would use their assets

gray frigate
candid trout
magic flume
copper gust
charred fog
gray frigate
#

you need to know how the assets are going to get used

boreal river
# copper gust Plenty of people want to help you but any discussion with you ends up with you r...

Then I really would like to make a suggestion to Unity Staff. Why don't you create Voice Channels for people to be able to Join and get help straightforward, some people can't follow very well just by chatting. Why not, because I have noticed on Unreal Engine server they do have voice channels for help. Personally, I am one of the people that can't follow very well only by chatting and always trying to record my screen, takign screenshots and so on and wasting so much time. I could easily share my screen and talk with a volunteer.

copper gust
#

we've had this discussion before

#

not worth replying to

charred fog
magic flume
#

I have certain tiles i put a tilemap collider 2D on, how can i change the collider size and shape?

gray frigate
#

i remember tiles having the option to use the sprite itself for the collider, or to just use a square

magic flume
lavish laurel
#

is it possible to fix this
Assets\Scripts\GameScript.cs(7,24): error CS1021: Integral constant is too large

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameScript : MonoBehaviour
{
private int sum1 = 12345676543586543578632378984357647654345;
void CalculateYukiGroundingTime()
{
int result = sum1 + sum1;
Debug.Log("[ INFO ] Yuki grounding time is " + result + "days");
}
// Start is called before the first frame update
void Start()
{
CalculateYukiGroundingTime();
}

// Update is called once per frame
void Update()
{
    
}

}
@everyone if someone knows the fix please don't use ai

gray frigate
#

it was a setting on the Tile asset

#

please do not attempt to ping the entire server

near wigeon
charred fog
#

Physical shape should direct the shape of the tile