# Changelog

## v 1.96.3 (current) <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixe&#x73;**:**

* Fixed compilation bugs on different versions of the engine

## v 1.95.4 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Improvements:

* Added support for rotating probe groups in prefabs.
* Added a button for recombining the total volume to the Quick Editing component.

### Bug Fixe&#x73;**:**

* The volumes of the probes in the prefab can only be calculated from the prefab to avoid problems with the final positions.

## v 1.95.3 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Improvements:

* The behavior of the "**Volumes List**" in the [MLP Manager](https://motiongamesstudio.gitbook.io/magic-light-probes/system-components-1/manager) depends on the state of the scene (prefab editing/main scene)
* "**Volumes List**" displays volumes for only one prefab instance.
* "**Calculate All Volumes**" button calculates volumes for only one prefab instance, the rest of the copies are updated after applying overrides.
* The method for searching for inner volumes has been moved to the calculating volume cycle and is now called only once, which should eliminate editor slowdowns with a large number of volumes on the scene.

### Bug Fixe&#x73;**:**

* Fixed bugs during project build.
* Fixed a bug due to which the calculation stopped at the stage "**Culling By Max Height**".

## v 1.95.2 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Improvements:

* Installation of probes is excluded if there are no colliders under them.
* **Probes can now be generated in the prefab.**

### Bug Fixe&#x73;**:**

* Added a description to the "Divide Volume On Probes Count" parameter.

## v 1.95 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Improvements:

* The Quick Editing component now displays the number of probes in the current volume
* Added a button for selecting Floor & Ground objects in the scene hierarchy
* The system no longer disables dynamic objects if they do not contain a Mesh Renderer component, which eliminates the need to mark objects created in the hierarchy for grouping as static

### Bug Fixe&#x73;**:**

* Fixed a bug due to which probes sometimes spawned outside the volume

### **Changes:**

* Changed parameter name from "Probes Count Limit" to "Divide Volume On Probes Count"

## v 1.94 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Improvements:

* Added option to disable forced placement of probes at geometry edges

### **Changes:**

* Temporarily disabled dynamic density option for modification

## v 1.93 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Fixed rare bug of lost compute shader references
* Fixed incorrect behavior of the algorithm for removing probes inside the geometry in the engine version 2020.2+

### **Changes:**

* Due to the upcoming release of the new asset called Magic Lightmap Switcher, changed the grouping of plug-in objects in the hierarchy, now all added volumes are placed in the Magic Tools -> Magic Light Probes

## v 1.92 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Minor fixes in MLPForceNoProbes component

## v 1.91  <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* MLPForceNoProbes component does not work correctly in some situations

### **Improvements:**

* MLPForceNoProbes component can now be used both for a single object and for a group of objects
* Corrections have been made that allowed to increase the accuracy of placing probes in the vicinity of objects

## v 1.90  <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Removed console warnings

## v 1.89  <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Completely fixed conflict in Transform extension

### **Improvements:**

* Added support for Shadowmask modes. Now probes are set differently for Distance Shadowmask and Shadowmask

## v 1.88 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Added a namespace to the Trnasform extension as it can cause conflicts with other plugins

## v 1.87  <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Fixed errors for objects with LOD
* MLP Helper no longer appears when selecting a - MLP Combined Volume -
* Queue calculation now starts correctly

### **Improvements:**

* Saving custom probe positions even after volume recalculation
* Improved mechanics for selecting floor and ground objects
* Optimized scripts (should get rid of lags with a large number of volumes on scene)
* Disabled notifications about update check errors in the background
* Probes added manually are now highlighted

### **Changes:**

* Fixed a typo in the content of the Debug tab
* Disabled Volumes Auto-Generation option, as it very often works with errors and requires significant improvement

## v 1.86 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Colliders marked as a trigger are mistakenly taken into account during the calculation
* MLP Light component does not work correctly with Bakery Light Mesh component
* The "Corners Detection Threshold" setting in MLP Quick Editing removes probes in contrasting areas

### **Improvements:**

* Ability to consider a group of objects as a single collider (MLPCombinedMesh)

### **Changes:**

* Due to the upcoming release of the new asset called Magic Lightmap Switcher, the context menu structure has been changed. Now is T**ools -> Magic Tools -> Magic Light Probes**
* Documentation updated

## v 1.85 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Sometimes an exception is thrown at line 60 in the MLPCombinedVolume.cs file. (The object of type "MLPCombinedVolume" has been destroyed but you are still trying to access it...) Fully fixed.

### **Improvements:**

* Added a new component that allows you to forcibly not install probes on the surface of an object to which it is attached (MLPForceNoProbes).

## v 1.83 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Sometimes an exception is thrown at line 60 in the MLPCombinedVolume.cs file. (The object of type "MLPCombinedVolume" has been destroyed but you are still trying to access it...) **NOTICE**: Perhaps the error has not been completely fixed.
* Manual probes placement (Set Custom Probes) is not automatically deactivated and locks the scene view even if the component's inspector is not active.
* Preset of filling options is not taken into account correctly.

### **Improvements:**

* Parameters ​​in MLP Quick Editing can be entered using the keyboard, not just the sliders.
* Added option to disable automatic shadow border detection (in Simple workflow)

## v 1.82 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Several errors that did not allow to calculate the volume in the "**Advanced**" workflow correctly

## v 1.81 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Wrong type of light source HDRP
* Calculation errors in debug mode

## v 1.80 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* A warning window (This object is needed for the plugin to work properly) is displayed while baking lighting with Bakery

## v 1.79 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Strong editor slowdown with a large number of objects or MLP volumes on scene

## v 1.78 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Sometimes probes are erroneously removed, even if they are not inside the geometry

## v 1.77 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Bug Fixes:

* Probe counter readings in the main component are fixed

### Changes:

* The requirement to save the scene before calculation can be turned off

## v 1.75 <a href="#v-1-71-current" id="v-1-71-current"></a>

### **Improvements**:

* Automatic arrangement of calculation volumes
* Dynamic Volume Density (Experimental)
* The requirement to select objects to limit the scene below is now optional. You can use the bottom side of the volume as a limiter
* Setting the Gizmo display distance during quick editing

### Bug Fixes:

* MLP Helper window now displays correctly
* The console is cleared of warnings

### Changes:

* Manager window resized
* An object is created on the scene, into which all the components of the plug-in are added

## v 1.74 <a href="#v-1-71-current" id="v-1-71-current"></a>

### **Improvements**:

* Tips for options in the editor interface

### Bug Fixes:

* The warning about the necessary system component is repeated endlessly and blocks the editor if you deactivate the object in which the MLP Combined Volume component is located&#x20;

## v 1.73  <a href="#v-1-71-current" id="v-1-71-current"></a>

### **Improvements**:

* Automatically check for updates

The system automatically connects to the update server and checks for a new version. If a new version is detected, you will receive a notification in the interface of the main component.

* Links to documentation in system components (help icon in the inspector interface)

## v 1.72 <a href="#v-1-71-current" id="v-1-71-current"></a>

### Changes:

* **LoadComputeShaders()** method is divided, now the search for the plugin work folder is carried out in a parallel thread, after which the shaders are loaded

## v 1.71 <a href="#v-1-71-current" id="v-1-71-current"></a>

### **Bug Fixes:** <a href="#bug-fixes" id="bug-fixes"></a>

* Bugs fixed in debug mode when the "**Simple**" workflow is selected

## v 1.70 <a href="#v-1-70" id="v-1-70"></a>

### **Added features:** <a href="#added-features" id="added-features"></a>

* During quick editing, the volumes that are visible in the editor camera are recalculated first (prioritized view)
* Scene GUI for adding/removing objects that bound the scene from below (**Tools -> Magic Light Probes -> Scene GUI**)
* Managing a list of objects that bounds the scene from below from the main component interface

### **Bug Fixes:** <a href="#bug-fixes-1" id="bug-fixes-1"></a>

* Fixed a bug in the inspector of the "**MLP Quick Editing**" component, which did not allow it to display correctly
* Errors in the algorithm for arranging probes along geometry are fixed
* Compute shaders do not work on OpenGL < 4.3 for Windows and Linux. For macOS only Metal Render is supported. Software verification added
* A method has been found in the search code for probes located below ground/floor that slows down the system if there are many objects on the scene.
* Errors in the "**MLP Quick Editing**" component - index out of range
* The wrong plugin’s work path makes it impossible to work system correctly

## **v 1.68 (micro patch)** <a href="#v-1-68-micro-patch" id="v-1-68-micro-patch"></a>

### Added features: <a href="#added-features-1" id="added-features-1"></a>

* Added workflow switch - Simple (quick and easy); Advanced (slower and more accurate)

## **v 1.67** <a href="#v-1-67" id="v-1-67"></a>

### Added features: <a href="#added-features-2" id="added-features-2"></a>

* After clicking the "Add Volume ..." button in the manager, a new volume is created in front of the camera

### Bug Fixes: <a href="#bug-fixes-2" id="bug-fixes-2"></a>

* Data for quick editing is saved even after a scene is reloaded

## **v 1.66** <a href="#v-1-66" id="v-1-66"></a>

### Added features: <a href="#added-features-3" id="added-features-3"></a>

* Added the ability to forcibly disable an algorithm that tries to automatically prevent light leaks through walls

### Changes: <a href="#changes" id="changes"></a>

* Added an example of an indoor scene

## **v 1.65** <a href="#v-1-65" id="v-1-65"></a>

### Added features: <a href="#added-features-4" id="added-features-4"></a>

* More visual display of volumes on scene
* Handles for volume size control
* Ability to quickly edit the distance between the probes in the corners
* Cancel button during volumes combining process

### Bug Fixes: <a href="#bug-fixes-3" id="bug-fixes-3"></a>

* In some cases, the probes are erroneously placed below the level of the probe ground/floor
* The "MLP Quick Editing" component recalculated only for the last part of the total volume
* Errors in the search algorithm for probes at the range borders of the light source

### Changes: <a href="#changes-1" id="changes-1"></a>

* The option to adjust the distance between the probes in the corners (Corners Probe Spacing) is again available
* Important documentation changes (be sure to read the Quick Start section before use)

## **v 1.6** <a href="#v-1-6" id="v-1-6"></a>

### Added features: <a href="#added-features-5" id="added-features-5"></a>

* Quick editing of volume parameters after calculation
  * Equivalent Volume Filling (GPU)
  * Unlit Volume Filling (GPU)
  * Color Threshold
* GPU acceleration for some passes of calculation
* Display progress in editor status bar

### Bug Fixes: <a href="#bug-fixes-4" id="bug-fixes-4"></a>

* In rare cases, probes were erroneously placed inside the geometry
* Incorrect partner volume for a light source
* Probes removed from combined volume after scene reload
* Incorrect type of light source in HDRP mode

### Changes: <a href="#changes-2" id="changes-2"></a>

* Temporarily disabled the ability to set the distance between the probes in the corners

## **v 1.5** <a href="#v-1-5" id="v-1-5"></a>

### Added features: <a href="#added-features-6" id="added-features-6"></a>

* The calculation can now be performed even if the editor window is out of focus
* Ability to quickly edit in real-time some parameters of the calculated volume (in the current version it is only "Color Threshold")
* The light sources in the "Lights" tab of the manager are now sorted by type and mode

### Bug fixes: <a href="#bug-fixes-5" id="bug-fixes-5"></a>

* A pop-up window asking to add plug-in main component to the scene in the prefab editing mode

### Changes: <a href="#changes-3" id="changes-3"></a>

* Recalculation of automatic volume separation is started only after the mouse button is released

## **v 1.4.3** <a href="#v-1-4-3" id="v-1-4-3"></a>

### Added features: <a href="#added-features-7" id="added-features-7"></a>

* HDRP Light Source Support (experimental)

## **v 1.4.2** <a href="#v-1-4-2" id="v-1-4-2"></a>

### Added features: <a href="#added-features-8" id="added-features-8"></a>

* Added ability to install probes in manual mode with one click ("MLP Combined Volume" component)

### Bug fixes: <a href="#bug-fixes-6" id="bug-fixes-6"></a>

* The "MagicLightProbes.DependencyChecker.DoesTypeExist()" method throws an exception in some cases, which blocks code compilation
* The first time you add the "MLP Volume" component to the scene, all non-static objects are deactivated
* Minor fixes in DependencyChecker.cs file

## **v 1.4.1** <a href="#v-1-4-1" id="v-1-4-1"></a>

### Bug fixes: <a href="#bug-fixes-7" id="bug-fixes-7"></a>

* Non-optimal code in the "Find Geometry Edges" pass (with a large number of objects on the scene, the editor freezes for a long time)

### Changes: <a href="#changes-4" id="changes-4"></a>

* ETA calculation algorithm is now more accurate

## **v 1.4** <a href="#v-1-4" id="v-1-4"></a>

### Added features: <a href="#added-features-9" id="added-features-9"></a>

* Saving a scene before calculation
* ETA for calculating automatically divided volumes
* Volume optimization for mixed lighting

### Bug fixes: <a href="#bug-fixes-8" id="bug-fixes-8"></a>

* Terrain irregularities are perceived as geometry edges
* Colliders are still duplicated in debug mode
* Geometry intersection detection does not work correctly in some modes
* On some objects marked as static, colliders are duplicated during the calculation
* Restoring scene state after calculation in "Debug Mode" works with errors
* Violation of the queue for calculating volumes (when there are several on the scene)
* Culling by equivalent color works with errors
* Wrong progress counter in Removing Unused Points pass
* The endlessly repeating warning "This component will be automatically disabled when baking." When the main component is disabled in hierarchy
* Invalid value of probes number counter after calculation
* Warning in console "Releasing render texture that is set to be RenderTexture.active!"
* Errors in the console after building the project

### Changes: <a href="#changes-5" id="changes-5"></a>

* Minor changes in the interface of the main component

## **v 1.3** <a href="#v-1-3" id="v-1-3"></a>

### Added features: <a href="#added-features-10" id="added-features-10"></a>

* Lock settings during calculation
* Automatic division of large volumes into smaller ones
* Customizable spacing between probes in corners
* Removing probes with equivalent color neighbors
* New component "MLP Force Save Probes" for objects that need to be forced to evenly fill probes
* Automatic installation of probes at the edges of the geometry

### Bug fixes: <a href="#bug-fixes-9" id="bug-fixes-9"></a>

* Incorrect light source type assignment in "MLP Light" component
* Scripting Define Symbols are not assigned at the right time (Added ability to force dependency checking)
* Some disabled objects are not activated after calculation
* Progress in "Debug Mode" now displays correctly
* Erroneous message that the light source is outside the calculation volume

### Changes: <a href="#changes-6" id="changes-6"></a>

* Manager window moved to Tools -> Magic Light Probes -> MLP Manager
* Added menu item for forced dependency checking Tools -> Magic Light Probes -> Check Dependencies
* Added menu item Tools -> Magic Light Probes -> About MLP...

## **v 1.2** <a href="#v-1-2" id="v-1-2"></a>

### Added features: <a href="#added-features-11" id="added-features-11"></a>

* Bakery GPU Lightmapper integration (support all light types)
* Probes optimization after volume combination
* More visual display of Gizmo for some light sources
* Highlighting console MLP messages
* Detailed progress bar in the manager
* New "Global Settings" tab in the manager (editing general settings for all volumes)

### Bug fixes: <a href="#bug-fixes-10" id="bug-fixes-10"></a>

* Invalid demo shader
* Fixed bugs in probes placement algorithms
* Fixed a bug due to which the baking involved probes that should have been disabled

### Changes: <a href="#changes-7" id="changes-7"></a>

* Manager window moved to Windows -> MLP Manager

## **v 1.1.0.1** <a href="#v-1-1-0-1" id="v-1-1-0-1"></a>

### Bug fixes: <a href="#bug-fixes-11" id="bug-fixes-11"></a>

* Uncontrolled duplication of an object "-- MLP Combined Volume --" in 2019.2 or newer

## **v 1.1** <a href="#v-1-1" id="v-1-1"></a>

### Added features: <a href="#added-features-12" id="added-features-12"></a>

* Duplication to a specified height with a given step
* The calculation mode "One by one" (for a large number of volumes on the scene)
* Progress bars in the manager window

### Bug fixes: <a href="#bug-fixes-12" id="bug-fixes-12"></a>

* The manager window does not update the list of volumes when the volume is duplicated on the scene
* Rare cases of light probes placement far beyond the volume
* Double light probes near geometry
* Uncontrolled duplication of an object "-- MLP Combined Volume --"
* Invalid shader for displaying light probe positions in debug mode
* Exception during scene unloading
* Error restoring scene state after calculation

## **v 1.0** <a href="#v-1-0" id="v-1-0"></a>

First release.
