11
2021
Run WebGL server manually
When making webgl builds, you cannot open generated index.html file directly inside the build folder (without webserver), and if you make Build & Run, and then close the browser tab, you need to do build & run again to view it later. Run webserver from […]
9
2021
Add Middle Mouse Button support to AssetStore notifications panel (GreaseMonkey script)
AssetStore notifications window doesn’t allow you to open links into new tab (with middle mouse button).. for every link, you need to:10 – Click your profile icon to open drop down menu20 – Click notifications button30 – Scroll down the list to find interesting item40 […]
20
2021
Using nasadem.xyz heightmap data
Quick test to read nasadem.xyz data and extruding mesh with it using shader. (and added local image caching, to reduce requests). Project:https://github.com/unitycoder/nasadem
16
2021
Fix Old AssetStore Links (GreaseMonkey script)
If you happen to browse old forum messages, and try to click those old asset store links, they end up in some 404 error page:example post https://forum.unity.com/threads/fps-game-template-vol-1.465743/#post-3029391 Here’s Firefox Greasemonkey plugin script to fix those links:https://gist.github.com/unitycoder/199ff1dfd521bd9e9ae1e70e44e6bc5d *For some really strange reason, Unity is not interested […]
4
2021
You are trying to replace or create a Prefab from the instance ‘…’ that references a missing script. This is not allowed. Please change the script or remove it from the GameObject.
Solution:– Open the prefab that it mentions in the error, then check for missing script and remove it.– It doesn’t help if you remove missing script in the scene from that prefab, or even if you unpack that prefab, need to remove it from the […]
14
2020
Marching Squares
Unity version of the basic Marching Squares tutorial from The Coding Train https://www.youtube.com/watch?v=0ZONMNUKTfU Project: *Note: Enable Gizmos to see debug lines in Game Windowhttps://github.com/unitycoder/MarchingSquares recording from live streamhttps://www.youtube.com/watch?v=vR2fc7U9hME
4
2020
LineRenderer with Outline Shader
Tried using sprite outline shader with LineRenderer, works surprisingly well References:Sprite shader source: https://forum.unity.com/threads/help-to-find-an-asset-solution.755273/#post-5246960 (2nd shader in that post)Forum topic: https://forum.unity.com/threads/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682/
14
2020
Registry fix for: Opening .UnityPackage in currently Active Unity (instead of opening new Unity instance)
I think after installing 5.6 32bit unity, it broke the Windows Explorer default application feature – Where clicking UnityPackage in Explorert would open in any currently active Unity instance.(instead it started opening new Unity instance every time).Found solution in forums (link) Here is Registry Fix […]
10
2020
UI Gradient Slider Bar (no scripts)
Simple UI slider setup for creating gradient slider bar (good for health / fuel bars etc). Uses UI Mask to hide gradient texture based on slider fill. Unity Project:https://github.com/unitycoder/UIGradientSliderBar
7
2020
Find out which script Disabled or Enabled this GameObject?
Small script to help tracking who disabled or enabled gameobject,https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Helpers/Debug/WhoDisabledOrEnabled.cs Usage:– Add script to the gameobject you need to track– press play– see console for the error messages, select the error message row, and see stack trace for the calling script names and lines.
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS

An article by













