2
2019
Create Gradient Texture From Array of Colors
Small tool to generate gradient Texture2D from array of colors. (Note: maximum colors is 8, since it uses unity Gradient internally ( https://docs.unity3d.com/ScriptReference/Gradient.html ) Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Texture/GradientTextureMaker.cs Example usage script: (attach script to some 3d object)https://gist.github.com/unitycoder/f7ea9019bb67b7042efbd08f0f4fa785
3
2018
DllNotFoundException: libnuitrack – nuitrack.NativeNuitrack.Init
Briefly tested https://nuitrack.com/ in unity, and had this error when trying to run examples: DllNotFoundException: libnuitrack nuitrack.NativeNuitrack.Init (System.String config) nuitrack.Nuitrack.Init (System.String config, NuitrackMode mode) NuitrackManager.NuitrackInit () (at Assets/NuitrackSDK/Nuitrack/NuitrackManager.cs:218) NuitrackManager.Awake () (at Assets/NuitrackSDK/Nuitrack/NuitrackManager.cs:117) There is a thread about it in nuitrack forums, https://community.nuitrack.com/t/dllnotfoundexception-libnuitrack/562/23 and the solution […]
14
2018
QuickStart: Unity Visual Shader Editor
tl;dr, use beta10+, install Render-pipelines-lightweight with Package Manager, create/rendering/lightweight pipeline asset, assign it to graphics settings, create/shader/unlit graph, double click to edit in visual editor! Install & Use Visual Shader Editor – Download and install Unity Beta : https://unity3d.com/unity/beta-download – Create New Empty Project – […]
31
2018
Checking Last Known Good Position For A Car In The Track
Working on a small StuntCarRacer-inspired game with a friend. Some note here about how to get car to return last known good position in the track. Problems and Requirements – Player gets stuck hanging in side of the track (1 or more tires hanging outside, […]
20
2017
Android Build Error: Error: String types not allowed (at ‘configChanges’..
Tried to build simple Cardboard + GVR scene with Unity 2017.3b4, but kept getting this error: CommandInvokationFailure: Failed to re-package resources. ***\android-sdk\build-tools\25.0.2\aapt.exe package –auto-add-overlay -v -f -m -J “gen” -M “AndroidManifest.xml” -S “res” -I “***android-sdk\platforms\android-23\android.jar” -F bin/resources.ap_ –extra-packages com.google.vr.cardboard:com.unity3d.unitygvr -S “***Game\Temp\StagingArea\android-libraries\gvr\res” -S “***Game\Temp\StagingArea\android-libraries\unitygvr\res” stderr[ AndroidManifest.xml:5: […]
23
2017
Drawing 2D lines and Adding Collider to it
Hi awesome reader! In our past tutorial “How to Draw Line” we discussed about drawing a line in the game by mouse interaction. But sometimes we need to draw a line that collides with our game objects in 2D mode. So we need to add […]
27
2017
Drawing Lines
Hi dear reader! In this tutorial we want to learn how to draw a line in unity by user mouse movement and interaction. First we need a component that would be able to render simple lines. Our choice is Line Renderer, this component is able […]
21
2017
iOS App crashes only if downloaded from Appstore or TestFlight
Had annoying issue with one ios app, it worked perfectly when build locally from xcode to device, but after uploading to AppStore, that version crashes in all devices. Solution was rather simple: Solution Disable [ ] Include bitcode option when uploading your app archive to […]
20
2017
Terrain AlphaMap Texture FilterMode (sharp texture blending)
You can use shader to do sharp blending on terrain textures like this old version custom terrain sharp blending shader, but can also set alphamap texture filtermode instead! (no custom shaders needed) With custom editor script, you can do this: Example project with the editor […]
19
2017
Install & Run Unity in Linux Terminal
see latest releases here: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ INSTALL – Login to ssh terminal (i’m using Ubuntu-14.04.1-LTS-64bit) – download package (i took 5.5.3): wget http://beta.unity3d.com/download/a2454d41e248/unity-editor_amd64-5.5.3xf1Linux.deb – install: sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb – missing dependencies error..google, help! – try: sudo apt-get -f install – try: sudo apt-get update – […]
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on