Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2018.2

Issue ID

1071188

Regression

Yes

Missing spaces around classnames wont allow scripts to be attached

Scripting

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Example code showing the issue:
using UnityEngine;

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

Works when space is added before the ":"

All about bugs

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