Search Issue Tracker

Fixed in 4.6.8

Votes

1

Found in

4.6.5p1

Issue ID

695527

Regression

No

[IL2CPP] Generator expressions in Boo scripts return invalid enumerators

IL2CPP

-

Generator expressions in Boo scripts return invalid enumerators. See the following snippet:

g = i for i in (1, 2, 3)
for i in g: Debug.Log(i)

This outputs the sequence (1, 2, 3) when using the Mono backend. However, when using the IL2CPP backend, it outputs nothing.

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.