Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
5.0.0
Issue ID
1102620
Regression
Yes
[ShaderGraph]BlackboardProvider.cs uses int instead of float value by default when building InputField, fails in compilation
Steps to reproduce:
1. Create a new project
2. Import ShaderGraph package 5.1.0 or 5.0.0.
3. Wait for compilation to complete:
Result: (48)/Library/PackageCache/com.unity.shadergraph@5.1.0/Editor/Drawing/Blackboard/BlackboardProvider.cs(103,53): error CS0029: Cannot implicitly convert type `int' to `UnityEngine.UIElements.StyleLength'
Reproduced with ShaderGraph 5.0.0
Not reproduced with ShaderGraph 4.2.0
Fix: change the offending lines value from 0 to 0.0f
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
- Root motion is not reapplied when transitioning from an animation without root motion to an animation with root motion
Resolution Note:
Im afraid this particular editor build is incompatible with this package version. Unfortunately a lot of the alpha period is likely to be rough in this regard as we make the final API changes needed for bringing SRP, LWRP and Shader Graph out of preview in 2019.1.
Rest assured this issue does not reproduce with our latest internal versions (Git master and 2019.1.0a11). Things should stabilize early in our beta cycle. Thanks for your patience.