Needle Engine 4.3.2
Needle Engine
Added
- Documentation for
GizmosAPI this.context.time.fpsreturning the FPS for the current frame (for a more stable FPS valuesmoothedFpscan be used)
Removed
- Vite license plugin check does not support Node 16 anymore
Changes
- Improve Vite preload link injection into HTML head
- The PostprocessingManager component does now expose a
multisamplingproperty which is set to"auto"by default. By settingmultisamplingto a number it will force postprocessing to the configured samples. - Downloading of
<needle-engine>attributes forskybox-imageandenvironment-imagedoes now start earlier. Previously it would only start loading the HDRi or EXR images after the root glTF file was finished loading. Now it will start downloading earlier which improves the time until the scene is ready to be displayed.
Fixed
- Vite dependency-watcher plugin warning
- Vite license check plugin is now using the latest Needle CLI version
- Browser cache busting issue related to loading the root scene where range requests (e.g. when download urls without a file extension). This caused Chrome to remove files from the disc cache causing a re-download
- Three.js core postprocessing effects support
- Loading glTF files without any components (e.g. when directly downloaded from Sketchfab) was causing Needle Engine to falsely keep a reference to the loaded glTF structure.
- Instancing issue where instancing did sometimes renderer wrong geometry when many objects where removed and added again and multiple different geometries were batched together. This was caused by a bug in the internal bucketing mechanism and has now been removed since itβs not necessary anymore.
Unity Integration
Removed
- NeedleEngineModules component and warning
Fixed
- Console error in BuildWindow
- Unity error when adding a new component caused by recent editor sync change
- Handle NPM cache error when generating font assets
- Update dialogue should not open automatically when using a stable package version and a new beta version is available
- Unity EditorSync should work with GenericInspector instances in Unity versions that use VisualElements / UI Toolkit now
- Context menu exporting a GLB file and selecting the
compressoption did not apply progressive optimization and not produce texture or mesh LODs.
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
Samples