22
2017
Load AssetBundles with Caching
Small sample script to load assetbundles. Features: – It first loads bundle hash from the manifest file on server – Then uses that hash string as asset bundle loader parameter (to use cached version if available, see docs) – Instantiate gameobject after loading source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/AssetBundles/AssetBundleLoader.cs […]
8
2013
Using crossdomain.xml
Duh! That was one annoying error.. >< Error reading crossdomain policy: Expected element UnityEngine.UnityCrossDomainHelper:GetSecurityPolicy(String) Error downloading mesh: Rejected because no crossdomain.xml policy file was found UnityEngine.MonoBehaviour:print(Object) MeshSerializer:ReadMeshFromWWW(WWW) (at Assets/MeshSerializer.js:355) $:MoveNext() (at Assets/LoadMeshFromWeb.js:11) While using MeshSerializer2 to read mesh data from server http://wiki.unity3d.com/index.php/MeshSerializer2 And crossdomain.xml was […]
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