# Migration 4.27 -\> 5.3 bUseFullPrecision deprecated, doesn't automatically update FloatPrecisionMode

**URL:** <https://forums.unrealengine.com/t/migration-4-27-5-3-busefullprecision-deprecated-doesnt-automatically-update-floatprecisionmode/1911296>\
**Category:** Programming & Scripting\
**Tags:** UE-5, migration, unreal-engine, UE5, question, CPP\
**Created:** [June 21, 2024, 8:55am UTC](https://forums.unrealengine.com/t/migration-4-27-5-3-busefullprecision-deprecated-doesnt-automatically-update-floatprecisionmode/1911296 "2024-06-21T08:55:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joost](https://forums.unrealengine.com/u/Joost)\
**Post date:** [June 21, 2024, 8:55am UTC](https://forums.unrealengine.com/t/migration-4-27-5-3-busefullprecision-deprecated-doesnt-automatically-update-floatprecisionmode/1911296/1 "2024-06-21T08:55:12Z")

</div>

After migrating from 4.27 to 5.3, the bUseFullPrecision setting has been replaced with bUseFullPrecision\_deprecated.  
In theory this code in Material.cpp should automatically upgrade it to use FloatprecisionMode:

```auto

	if(bUseFullPrecision_DEPRECATED && FloatPrecisionMode == EMaterialFloatPrecisionMode::MFPM_Half)
	{
		FloatPrecisionMode = EMaterialFloatPrecisionMode::MFPM_Full;
		bUseFullPrecision_DEPRECATED = false;
	}

```

Because the default value for FloatPrecisionMode is EMaterialFloatPrecisionMode::MFPM\_Default I tried changing that to:

```auto

	if(bUseFullPrecision_DEPRECATED)
	{
		FloatPrecisionMode = EMaterialFloatPrecisionMode::MFPM_Full;
		bUseFullPrecision_DEPRECATED = false;
	}

```

The issue is that bUseFullPrecision\_deprecated seems to be false on all (or most) materials, even though bUseFullPrecision was set before.

I’ve tried adding a propertyredirect:

```auto
+PropertyRedirects=(OldName="Material.bUseFullPrecision",NewName="bUseFullPrecision_DEPRECATED")

```

I’ve also tried directly renaming bUseFullPrecision\_deprecated back to bUseFullPrecision, but the value is always false.  
I think this did work for some materials eventually but most are still on EMaterialFloatPrecisionMode::MFPM\_Default.  
The materials haven’t been resaved since the migration, so it should automatically update the FloatPrecisionMode?

We had quite a few materials set to use full precision and it’s not always easy to see which materials need it, so we’d like to avoid manually re-enabling it.

bUseFullPrecision is a bit field value, maybe that’s why the propertyredirect doesn’t work correctly?

```auto
 UPROPERTY()
	uint8 bUseFullPrecision_DEPRECATED : 1; 

```

Any help would be appreciated.
