View on Asset Store (opens in new tab)
Package details
- Latest version
- 0.1.0
- Last updated
- First released
- Unity version
- 6000.3.10 or later
- Package size
- 391 KB
- Files
- 22
- Favorites
- 5
- Views in the past week
- 10
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Ultimate RNG Lite
A lightning-fast random number generator suite for Unity. Utilizing Burst/Job, Compute Shaders, and Rust, it empowers massive batch generation and simulations. Free Lite edition.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Ultimate RNG Lite screenshot 1
About this asset
Unlock unprecedented random generation speeds for your Unity projects. Ultimate RNG Lite is designed from the ground up to solve the bottleneck of massive batch generations. By utilizing three powerful backends—Unity's C# Job System (Burst Compiler), Compute Shaders for GPU offloading, and highly optimized Rust native plugins—you can generate millions of random numbers in a fraction of a millisecond.
This free Lite edition includes a curated selection of state-of-the-art RNG algorithms, including Xoshiro256, Philox, Mersenne Twister (MT19937, SFMT), SFC64, PCG32, and more, allowing you to choose the exact balance between blinding speed and cryptographic-like quality.
For the full algorithm suite including Pcg32x8, Philox32x4x4, Squares32x8, and additional Job-based generators, see Ultimate RNG (Pro).
Perfect for:
- Procedural Terrain & World Generation
- Complex Particle Systems and VFX
- Large-scale simulations (flocking, traffic, fluid dynamics)
- Machine Learning and Monte Carlo simulations within Unity
- Any Data-Oriented (DOTS) workflow demanding heavy random sampling
Note: Ultimate RNG is strictly specialized for batch generation and is not intended as a drop-in replacement for simple UnityEngine.Random calls in everyday, single-threaded Update logic.
From the publisher's Asset Store listing.
Technical details
Key Features:
- Blazing Fast Performance: Achieve up to ~25x faster generation speeds compared to standard Unity or C# generators. Native plugins leverage AVX-512 SIMD instructions and parallel processing for next-generation CPU performance on supported hardware.
- Multiple Backends:
- Job System / Burst Compiler: Native C# high-speed generation (SplitMix32, Philox32x4, Pcg32, Mt19937).
- Compute Shader: Direct-to-GPU generation (Philox32) for zero CPU overhead.
- Rust Native Plugins: The absolute gold standard in statistical quality and performance (MT19937, SFMT, SFC64, PCG32, Xoshiro256, etc.). Features SIMD Auto-Dispatching to automatically detect and utilize AVX-512, AVX2, or SSE for maximum throughput on any machine. Internal state is securely initialized using SplitMix32/64.
- Data-Oriented Design: Built natively for use with NativeArray, Span<T>, and the Unity Job System.
- Unified Interface: Clean, consistent API whether generating from Jobs, Compute Shaders, or Native Plugins.
- Extensive Benchmarks: Comes with an integrated Demo scene to benchmark the performance in your own specific environment.
Included Algorithms:
- Xoshiro256++ / Xoshiro256**
- Philox32 (Compute Shader) / Philox64
- Mersenne Twister (Mt19937 / Mt19937-64 / Sfmt19937 / Sfmt19937-64)
- Sfc64
- SplitMix32 / SplitMix64
- Pcg32
- Xorshift variants
- Threefry32
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.10f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.