23
2018
Browser Plugin: Stay in Old Asset Store
Small snippet to use with GreaseMonkey-plugin, will stop old & short url asset store links from re-directing into that horrible new asset store! *New v2: Now automatically redirects from new horrible store to good old store AND keeps the asset page! This file contains bidirectional […]
7
2018
Faster Debug.Log
Debug.Log() slows down your editor or even hangs if it happens to run inside some long loop, but you can make it faster by disabling stacktrace from Debug.Log()! (see image above) Tested for-loop with 100000 iterations in editor (Unity 2018.1.6f1) – 25000ms with stacktrace enabled […]
26
2018
Fire Effect Using CustomRenderTexture
Converted this fire effect (by The Coding Train) into unity customrendertexture + shader. Added fire gradient color (by moving the fire calculation into alpha channel). Unity Project Sources https://github.com/unitycoder/FireEffect References CustomRenderTexture (was added to unity in 2017.1) https://docs.unity3d.com/Manual/CustomRenderTextures.html Keijiros example project (reaction-diffusion) https://github.com/keijiro/RDSystem Fire Effect […]
18
2018
Quadtree
Converted this javascript quadtree (by The Coding Train) to Unity using texture2d *not complete with all the features yet though, but can add points by clicking texture with mouse. Unity Project https://github.com/unitycoder/UnityQuadtreeInTexture Original source https://www.youtube.com/watch?v=OJxEcs0w_kE
5
2018
Upgrading old 5.5 project to 2017.4 LTS
So had to upgrade one old Android+iOS cardboard app into newer unity version.. (Due to old unity doesn’t support latest apple os updates [link], missing new app store image sizes [link], some plugins are getting fixes/updates to newer versions, Android google play has new requirements […]
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, […]
29
2017
Visual Studio Snippet Generator Online
Didn’t find any easy or working snippets generator for VS, so made one with javascript: New page: http://tools.unitycoder.com/VisualStudioSnippetsGenerator/ Collecting some useful snippets here *currently just 1 there : ) https://github.com/unitycoder/UnityVisualStudioSnippets Feel free to post ideas for most common snippets.. personally i’d like to add […]
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: […]
Recent posts
- 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
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName