Search Issue Tracker

Fixed in 2017.2.0f3

Votes

7

Found in

2017.2.0b9

Issue ID

952808

Regression

Yes

Unavailable to rename gameObjects after setting content size fitter to min/preferred size

Scene Hierarchy

-

To reproduce:
1. Open repro project
2. Open 'Launcher' scene
3. Try to rename any gameObject in hierarchy window( not in inspector)

Expected vs Actual: selected gameObject should be renamed, but it's not

Workaround: rename gameObjects in inspector

Reproducible on: 2017.2.0b10, 2017.3.0a7
Nor reproducible: 5.6.3p3, 2017.1.1p3

Regression introduced in 2017.2.0b7

Note:

Issue is caused by the content size fitter which has min/preferred size values set(if it is set to Unconstrained, it works properly). Content size fitter that causes the issue is located DFL-> Canvas ->1->2->3->4 in repro projects hierarchy

Not reproducible on OS X

Comments (10)

  1. Hexenwerk

    Sep 08, 2018 20:56

    I don't see why this is marked as fixed for Unity 2017.2.0f3 - because that's exactly the version where I just stumbled upon this bug.

  2. chamberlainpi

    Jan 05, 2018 14:54

    "Fixed in Unity 2017.2" ... but ... dot what minor version?

  3. BosAtWork

    Nov 30, 2017 21:17

    Can also confirm this issue. 2017.2.0f3. Very frustrating!

  4. HendrysTobar

    Nov 27, 2017 01:48

    I confirm that this reproduces on 2017.2.0f3
    Please fix.

  5. numaiomul

    Nov 18, 2017 00:12

    Can't edit previous comment, made small script to avoid bug until fix is up.

    using UnityEngine;
    using UnityEngine.UI;

    public class ContentFitterFix : MonoBehaviour {
    public ContentSizeFitter.FitMode horizontalFit;
    public ContentSizeFitter.FitMode verticalFit;

    ContentSizeFitter contentRef;

    void Awake() {
    contentRef = GetComponent<ContentSizeFitter>();
    contentRef.horizontalFit = horizontalFit;
    contentRef.verticalFit = verticalFit;
    Destroy(this);
    }
    }

    Good luck!

  6. numaiomul

    Nov 17, 2017 23:46

    Reproduces in OSX as well, (tested my keyboard and mouse and they work as intended)
    OS version: High Sierra v10.13.1
    Unity version: 2017.2.0f3 Personal

  7. Legend_Bacon

    Oct 24, 2017 17:19

    Yup, the whole content size fitter is pretty messed up as of 2017.2.0f3. You can't rename the object if it itself has a content size fitter that isn't unconstrained, OR if a parent of that object does. Waiting for the fix :)

  8. Wild-Factor

    Oct 22, 2017 18:50

    Same here, annoying. version 2017.2.0f3

  9. Karsten

    Oct 20, 2017 19:23

    i can confirm that this happens and is easy to reproduce on 2017.2.0f3

  10. dadamsj1

    Oct 20, 2017 05:36

    Just came across this in version 2017.2.0f3. Took me a bit to find the culprit (I thought my keyboard was broken). I can easily reproduce this bug in a new project as well.

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.