Search Issue Tracker

Won't Fix

Votes

0

Found in

2023.1.0b20

Issue ID

UUM-40703

Regression

Yes

Errors in console when importing Nature Starter Kit package into project

--

-

# Create a 3D Core project 
# Install the "Nature Starter Kit 2" asset (linked in notes)
# Observe console

 

Expected Result: No errors in console

Actual Result: Multiple errors thrown into the console 

 

Reproducible with: 2023.2.0a20

Not reproducible with: 2020.3.46f1, 2021.3.27f1, 2022.3.3f1, 2023.1.1f1

Platforms tested: Win 11

 

Notes: Assets\NatureStarterKit2\Editor\ImageEffects\ColorCorrectionLookupEditor.cs(54,58): error CS0619: 'TextureImporterFormat.AutomaticTruecolor' is obsolete: 'Enum member TextureImporterFormat.AutomaticTruecolor is obsolete. Use the TextureImporter.textureCompression property instead.'

Package: [https://assetstore.unity.com/packages/3d/environments/nature-starter-kit-2-52977

  1. Resolution Note:

    "TextureImporterFormat.AutomaticTruecolor" is marked as obsolete starting from 2023.2. This is intended, it has been marked as deprecated since Unity 5.5.
    In order to upgrade the problematic code, please refer to the deprecation notes. (also see: "TextureImporterFormat.Automatic")

    We recommend making use of preprocessor directives (for example: #if UNITY_5_5_OR_NEWER) in order to run different (updated) code on newer versions.

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.