View Single Post
04/30/20, 10:30 AM   #19
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Right, exactly what I thougth and experienced until today.

Not sure what the problem here is but I never had these NIL problems happening if:
-txt file order of XML was before lua and no <OnInitialization> tried to access stuff that was inside the lua file
-even_player_activated or event_add_on_loaded fired

Thats why I asked for the complete source.

Perhaps your files use UTF-8 encoding with a ByteOrderMark. Sometimes this freaks out the ingame addon manager, especially if this is set at the addon's txt file!
So make sure if utf8 is used the BOM is removed on all txt and lua files.
  Reply With Quote