Search Issue Tracker

Fixed in 5.3.0

Votes

0

Found in

5.0.0f1

Issue ID

670623

Regression

No

Shaders: d3d9 doesn't like big shader literals (e.g. 1e9)

Shaders

-

Using literals like "float a = 1e9" in shaders produces D3D9 assembly that's not really valid: "def c0, 1e+009, 0, 0, 0". Get error "syntax error : unexpected token 'e'" when shader is loaded.

Comments (1)

  1. Aras

    Sep 14, 2015 04:12

    Fixed for Unity 5.3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.