Search Issue Tracker

Fixed in 2018.3

Fixed in 2018.2

Votes

0

Found in

2018.2

Issue ID

1071188

Regression

Yes

Missing spaces around classnames wont allow scripts to be attached

Scripting

-

Example code showing the issue:
using UnityEngine;

namespace MyGame
{
public class Player: MonoBehaviour
{
public float Health;
}
}

Works when space is added before the ":"

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.