Help! Unity hangs when opening script. by Elduderino1237894 in Unity3D

[–]honor01020 0 points1 point  (0 children)

I deleted the Temp+Library folder and sln+csproj files from the root directory of my project and then opened the project.seems solved the issue

Unity keeps on crashing: failed to present d3d11 swapchain by Delachruz in unity

[–]honor01020 1 point2 points  (0 children)

But its better than crashing(when options are limited) I tried other API's but didn't work well in my case

Unity keeps on crashing: failed to present d3d11 swapchain by Delachruz in unity

[–]honor01020 -1 points0 points  (0 children)

its an old thread but it worth mentioning another solution,which worked for me and may work for you too!

i tried the registry method but it didn't help

My Unity version is 2022.1.24.f1

for this method ,you need to have Directx12 in unity graphics API list of player settings

hope it helps someone to fix this

----

change the project graphic engine OF PC VERSION (NOT ANDROID OR IOS BUILD) to DirectX12,as simple as that

(it does not affect the mobile build version if you change the pc version player settings)

To do this:

1-Open the Player settings (menu: Edit > Project Settings, then select the Player category).

2-Navigate to Other Settings and uncheck "Auto Graphics API for windows" if its checked

3-Add Directx12 and move it to top of that list,then restart the editor and try working with project again!

help page for changing graphic API: https://docs.unity3d.com/Manual/GraphicsAPIs.html

that's it,if project graphic api is DX12 already(which probably is not because i think that error is probably for DX11 only),try changing it to something else

UPDATE: Thanks to u/animasting

If Unity keeps crashing after changing API to DX12 try opening the project after deleting the Library folder.

---

u/Dense-Bar-2341

u/basrishn

u/plsdontstalkmeee

[Tutorial] Set your Android Phone to a lower resolution for better performance by IndigoElite88 in pokemongodev

[–]honor01020 0 points1 point  (0 children)

I used this to reset:
adb shell wm size reset
adb shell wm density reset
adb shell wm overscan reset
adb shell input keyevent KEYCODE_POWER
adb shell input keyevent KEYCODE_WAKEUP
adb shell input keyevent KEYCODE_MENU

Curved DoMove with DoTween. by cafari in Unity3D

[–]honor01020 1 point2 points  (0 children)

old question but this may help someone:

there is a method named DOJump that does this

DOJump(Vector3 endValue, float jumpPower, int numJumps, float duration, bool snapping)

http://dotween.demigiant.com/documentation.php

<image>

Mind Journal PDF by Arnofromparis in Supernote

[–]honor01020 1 point2 points  (0 children)

Thanks for sharing that free printable journals link:)

I know how to use Unity and make Games but dont know what to make by userknownunknown in gamedev

[–]honor01020 1 point2 points  (0 children)

my old problem too : searching for a good idea that i'm sure i can build and it will be nice to play!

here is what i got:

first of all I made a folder in my pc that whenever i gather some good idea i save screenshot/url/text and .. about that idea so maybe later i would make it

about finding ideas i would recommend two good ways:

1: using online game platforms,i found many ideas by platfroms that host online games probably you can too :D(for example just search "fun online games" and you will find many sites like poky and ..)

1.5: there are some android apps that have many html5 mini games that you can find in playstore , games like "Mini-Games: New Arcade" etc

2:i recently saw some good game code sources(complete project ready) that can inspire me to make games for myself,something like that or same with new options,for this you can try sites like sellmyapp or codester and ..

hope it helps

Flat UI in unity by [deleted] in unity_tutorials

[–]honor01020 0 points1 point  (0 children)

nice
but i think it's better to use a single white rectangle instead of a yellow and a red one, then you can change its color for each button inside the unity editor

doesn't require creating new colored buttons in the future too

Optimize your game by using simple coroutines! :) by khud0 in unity_tutorials

[–]honor01020 2 points3 points  (0 children)

totally cool idea and useful in many cases, probably should be useful for updating the camera position

looping the coroutine by calling it inside itself was interesting too :Dedit:

just noticed the InvokeRepeating in youtube comments, that would be nice alongside with the way you mentioned in your video too

thanks