diff --git a/Source/Engine/Online/IOnlinePlatform.h b/Source/Engine/Online/IOnlinePlatform.h
index bd21b2e79..918534756 100644
--- a/Source/Engine/Online/IOnlinePlatform.h
+++ b/Source/Engine/Online/IOnlinePlatform.h
@@ -323,7 +323,7 @@ public:
/// The player to get avatar for.
/// The loaded avatar texture, null if cannot get it. Caller has to destroy the returned virtual texture once unused.
/// True if failed, otherwise false.
- API_FUNCTION() virtual bool GetUserAvarar(const OnlineUser& user, API_PARAM(Out) Texture*& avatar) = 0;
+ API_FUNCTION() virtual bool GetUserAvatar(const OnlineUser& user, API_PARAM(Out) Texture*& avatar) = 0;
///
/// Gets the list of friends of the user from the online platform.
diff --git a/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp b/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp
index e6a7d933e..27d4fcb78 100644
--- a/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp
+++ b/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp
@@ -455,7 +455,7 @@ bool TextureTool::ImportTextureStb(ImageType type, Span bytes, TextureData
{
#if USE_EDITOR
// Load image as stream of bytes
- const unsigned char* ddsData = static_cast(fileData.Get());
+ const unsigned char* ddsData = static_cast(bytes.Get());
// Decode header and get pointer to initial data
ddspp::Descriptor desc;