Skip to content

SubstanceTween2.5

Latest
Compare
Choose a tag to compare
@cldougherty cldougherty released this 22 Oct 16:58
· 5 commits to master since this release

Changelog:
2.5 – 10/20/17 – Unity 5.6.0f3 / 2017.1.1p4 /2017.2.0f3
• Feature: Added Toolbar to use for all main functions
• Feature: Tool can now animate Enum and Boolean values
• Feature: Tool can now animate texture offset(_MainTex)
• Feature: Added ability to change substance settings for performance(ProceduralCacheSize/ProceduralProcessorUsage)
• Feature: Ability for animation to follow an Animation Curve.
• Feature: Write all keyframes to XML files.
• Feature: Create keyframes from multiple XML files.
• Feature: Flicker can make all parameter types to flicker randomly.
• Feature. Undo/Redo now supported
• Feature: Randomize all types of values (Shortcut:R)
• Feature: Repeat last Action (Shortcut G:)
• Feature: Emission Color now supports HDR colors.
• Feature: Added ‘About’ button that displays
• Feature: Added ‘Rewrite All Keyframes’ Toggle.
• Feature: Added ‘Animation Delay’ to prefab. You can now have the material load before it animates
• Feature: you can now use some functions of the tool when it is paused
• Material: Made a new sample material called ‘Geometry’
• Optimization: Use Dictionaries to store most animation data instead of lists for better performance.
• Optimization: On the prefab I now delete any variables that are not being animated and cache the variables that are being animated.
• Optimization: Changed if/else chain in Update() to switch statements
• Optimized several substance materials
• Warning appears on top of the screen if you use tool for a prefab that already has procedural Animation
• Fixed Bug: When animating backwards the animation would follow the graph but it would repeat the curve between the first 2 curve points.
• Fixed Bug: When the BackAndForth animation reaches the end the texture would flash for a second.
• Fixed Bug: overwriting a keyframe would overwrite the wrong keyframe
• Fixed Bug: Changed window type to utility to stop errors when dragging the window.
• Fixed Bug: Removed empty path errors when canceling any dialog box (Write/read xml,prefabs,Debug Text)
• Fixed Bug: Emission Color would always reset to whatever is in the Color field
• Fixed Bug: Unity 2017.2 changed when OnValidate() is called. onValidate will now only trigger on the prefab when you are not using the tool
• Fixed Bug: Unity 2017.1 and Unity 2017.2 had diffrences when selecting objects with no Procedural Materials or renderers
• Removed FPS counter (use built in stats or profiler window instead)

Bugs/Possible Bugs/Other Notes:
• If you use this tool on an animated prefab in the asset folder and overwrite the prefab you are working on unity can crash.
• If you use this tool on an animated prefab in the asset folder and create a new prefab the animation can glitch.
• My material is Pink after I create Prefabs? – This should never happen, if it does manually reapply your ProceduralMaterial on your object and everything should work again.
• My material is completely black/white - This should never happen, if it does reset the material (Right click material in inspector view > reset).
• The tool is blank! - Select a Procedural material and then select the tool window. If that does not work restart unity or the current scene.
• In rare cases the Reset button on the tool will not work - try selecting a second object, then the first and try again. if that doesn’t work try setting the value to minimum/maximum and then press reset. If all else fails restart the tool or exit/enter playmode again. The tool saves the material when the tool is first opened in play mode or a material is selected for the first time in play mode.
• If your XML file is somehow corrupt (0kb file) and you try to read it unity will give you an error saying something like "XmlException: Document element did not appear. Line 1, position 1". If you read a Xml file that is not corrupt after that without restarting the tool your material might look blurry - To fix this, as soon as you read a corrupt xml file restart the tool and read a file that is not corrupt.
• If a prefab in the scene has any errors or missing data try right clicking the PrefabProperties script and select ‘Revert to prefab’
• For v2.5 - The animation curve values/keys are not supposed to be manipulated in the editor curve window. Only the tangents are supposed to be manipulated
• Unity 2017.1 might crash when displaying dialog boxes after a lon period of time. I noticed this was fixed in 2017.1.1p4