Unity standard asset pack is now Deprecated

Argon Assault asset pack is no longer on the store, is there any alternatives guys?

Hi,

Which assets are you looking for? Theoretically, you could use another (free) asset from the Unity Asset store.

Alternatively, you could download Rickā€™s assets from his repository on GitHub. If you download the entire project, you can copy and paste the relevant files into your own project folder.

hi, so the new gamedev tv site is very :frowning: ā€¦ not as good as it once were
I just wanna ask a few questions and i just wanna go to the forum, or the questions site for that particular video in the course. But I just canā€™t there is only a ask a question button and when i press it, and type in my question then nothing happens, i donā€™t see my question there and I have no idea how to jump to that particular video question site. oh how i missed the old mechanism, just a press of a button then i got right to that video questions forum.

I have already type in like 3 or 4 question or something like that, still this shown

1 Like

Thanks for letting me know about the problem. You donā€™t have any script blockers installed/enabled, do you? Iā€™m forwarding the problem to our team, so they can look into it.

[Edit:] Iā€™m not sure if there is any misunderstanding but the forum here is not linked with the videos anymore. This thread here wonā€™t appear under any of the videos. However, if you click ā€˜Ask a questionā€™ and write a comment below the video, a new thread should get created below the video. If thatā€™s what you did but no thread appeared, there is definitely a problem.


Meanwhile, please feel free to ask questions here, and mention the lecture.

1 Like

By the way, somebody asked a question below the article ā€˜Warning: Unity Standard Assets Depreciatedā€™. In my reply, I linked this asset:

right so i wanted to move closer to my terrain and see how thing goes as if i were the player, but whenever i use WASD to move closer, my terrain just slowly fades away :frowning:


help

Also, there are some trees that only appear on my terrain if i look into it at a certain angle
Some red mushroom:

And if i look into it at another angleā€¦ itā€™s gone?

Before we head to the next problem, please let me know if the linked character controllers asset worked for you. Or wasnā€™t that a problem?

Regarding the new problem, thatā€™s the expected behaviour in Unity to increase the performance. Depending on the distance, the renderer does not render certain objects.

To solve the problem in the game window, you could change the clip plane values of the camera. This might have a noticeable negative impact on the performance of your game because the more objects Unity has to render, the slower the game will become.

To solve the problem in the Scene window, do the same for the scene view camera, which can be found in the Gizmos menu:

Bear in mind that this, too, could significantly slow your game and Unity down.


Advanced techniques to have lots of visible objects in the scene and a high(er) performance are LOD, billboards and textures. These topics are way beyond the scope of this course, though, so I cannot help you with this. However, you can find lots of tutorial videos on Youtube, and you could also ask our helpful community of students for advice over on our Discord chat server.

The Asset pack u sent me is the controller for fps and tps, not the trees assets and ships assets that i need for Argon Assault tho, anyway can u be more specific on how to modify the clipping panes to fix the issues that im having with the camera? i have tried modified it but it is not working, the terrain still fades away right when i zoom in


Still like this, help?

Increase the ā€˜Farā€™ value significantly. At the moment, it is set to 10000 in your screenshot. Also select the terrain and press F on your keyboard to set the focus on that game object.


Regarding the spaceship asset, Iā€™ve just checked the course, and the Star Sparrow asset is linked in the resources of video ā€˜Import Player Ship Assetā€™.

Regarding the trees, you could download Rickā€™s project from GitLab. Then copy and paste the relevant assets (e. g. the Standard Assets folder) into your own project.

Alternatively, you could look for free trees in the Unity Asset Store. According to the description in the Unity Asset Store, these free trees are compatible with the URP, so you could test them:

When looking for assets, make sure they are compatible with your current render pipeline.

many thanks for the tree assets pack, i have put trees in my game now.
And now im wondering, is there a big difference between these 2 ways of caching a variables.


this is how Rick code in the video,

So what if i just cache them all first then just use them after? Is there any difference of anyway? maybe better performance or maybe doing so might create bugs of some kindā€¦


Which one is better?

Awesome. Did you manage to implement them without any problems?

You may use local variables if the values donā€™t take up much space in memory. As a rule of thumb, int and float values are considered ā€˜smallā€™, so your solution is fine. I would remove the superfluous instance variables, though, as they are not used in the code you showed here.


See also:

i have edited my solution, so should i do it that way (set a variables up top first then use it later on), or should i just code like Rick(instance variables right in code?)

We are dealing with value types here. This means that we get new objects in Fly() anyway, and we do not save any relevant space in memory by assigning those values to an instance variable instead of a local variable.

Back in the 80s, the difference would have been relevant because each bit mattered. However, on our modern computers, we donā€™t care about a few bits, so we usually donā€™t waste any time with insignificant micro-micro-micro-optimisation.

You could analyse your code with the Profiler in Unity to see if you are even able to notice any difference.


When deciding whether we need an instance variable, we always ask ourselves how much resources we would need to get an object again. A calculation might be resource-intensive, so we want to keep the value. A simple calculation might be ā€˜nothingā€™, so it could make sense to recalculate the value when needed.

For everything else, this answer might be interesting:

With this knowledge, decide yourself what might be best in your project because there is rarely an universal answer to questions like these. As always, ā€˜bestā€™ depends on the specific problems you want to solve with your solution.

1 Like

idk what i did but now i cant move my ship during the timeline anymore, must be something with the timeline tho, i changed things a bit and then now i can only move the ship when the timeline is finished
EDIT: if the timeline is running, i cant move anything, if itā€™s stopped, i can moved my ship again

Check if the timeline animates the child (= Player Ship). If it does, you found the problem: The animation overrides all values that you apply via code. The result looks as if you cannot move the spaceship anymore, or as if the code does not work anymore.

Only the root game object (= the Player Ship) may be animated.

1 Like

so in Rotate Ship With Position & Throw in Argon Assault section of the course.
I noticed that Rickā€™s ship rotates (pitch yaw and roll) smoothly, I mean slowly to the rotated value, and not jump right to it like mine, mine just feels rigid and not smooth at all. Well I mean my code is pretty the same as Rick, but the ship just rotates straight away and it feels a bit jumpyā€¦

First of all, please let me know if the other problems are solved. Otherwise, they will continue to live in my mind, and Iā€™ll eventually get confused.

Secondly, if the code is fine but the rotation not smooth, try to decrease the rotation value in the Inspector. Rickā€™s solution works with very small values close to 0 only.

1 Like

right i fixed it by delete the ship animation key in timeline, only using the player rig animation key, so that left the ship rotation-free :smiley: many thanks

can u be more specific, my rotation still feels so rigid and not smooth at all, and which rotation value btw? sorry, i just wanna make sure im taking ur solution right

Since each game is unique, Rickā€™s and Garyā€™s values might not always be perfect for your game. For this reason, it is expected that you have to tweak the values in your own game until you get a pleasant result. Donā€™t worry if you need different values than Rickā€™s.

In his PlayerControls class, he implemented the following lines:

[Header("Screen position based tuning")]
[SerializeField] float positionPitchFactor = -2f;
[SerializeField] float positionYawFactor = 2f;

[Header("Player input based tuning")]
[SerializeField] float controlPitchFactor = -10f;
[SerializeField] float controlRollFactor = -20f;

Admittedly, the description in his code sounds a bit cryptic but since you know what your goal is, you just have to jump to the relevant code, which is is very likely in the ProcessRotation() method. In the code block of that method, youā€™ll see that he uses those factor variables to finetune the rotation, which is controlled by the player input. Rickā€™s description starts to make sense.

Since the variables are exposed in the Inspector, you have to finetune the values in the PlayerControls component in the Inspector in the Unity Editor. Make sure to select the spaceship in your Hierarchy. Since there are no universal values that make everything look good, you will have to test your game. It might be that you have to tweak the values a few times, and test your game a few times, until your game feels right.

If the problem persists, you could try to multiply by Time.deltaTime. In that case, youā€™ll need higher factor values.

1 Like

Privacy & Terms